Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 51 for ObjectInputStream (0.1 seconds)

  1. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            oos.writeObject(originalException);
            oos.close();
    
            // Deserialize the exception
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
            ObjectInputStream ois = new ObjectInputStream(bais);
            SsoLoginException deserializedException = (SsoLoginException) ois.readObject();
            ois.close();
    
            // Verify the deserialized exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                return;
            }
    
            try (DirectoryStream<Path> stream = Files.newDirectoryStream(stateDirectory, "*.handle")) {
                for (Path handleFile : stream) {
                    try (ObjectInputStream ois = new ObjectInputStream(Files.newInputStream(handleFile))) {
                        HandleInfo info = (HandleInfo) ois.readObject();
    
                        // Only load if not expired
                        if (!info.isExpired()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Suppliers.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.time.Duration;
    import java.util.Objects;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Useful suppliers.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableRangeSet.java

            return new ImmutableRangeSet<C>(ranges);
          }
        }
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
      Object writeReplace() {
        return new SerializedForm<C>(ranges);
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

    import com.google.errorprone.annotations.DoNotCall;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Function;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.time.Duration;
    import java.util.Objects;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Useful suppliers.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

            return new ImmutableRangeSet<C>(ranges);
          }
        }
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
      Object writeReplace() {
        return new SerializedForm<C>(ranges);
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/HashBiMap.java

    import com.google.j2objc.annotations.RetainedWith;
    import com.google.j2objc.annotations.Weak;
    import java.io.IOException;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.Map;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        @J2ktIncompatible
        @GwtIncompatible
            Object writeReplace() {
          return new InverseSerializedForm<>(RegularImmutableBiMap.this);
        }
    
        @J2ktIncompatible // java.io.ObjectInputStream
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use InverseSerializedForm");
        }
      }
    
      @J2ktIncompatible // serialization
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

      }
    
      Object writeReplace() {
        return new SerializedForm<>(asMapOfRanges());
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top