Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 69 for readObject (0.05 seconds)

  1. guava/src/com/google/common/collect/AbstractBiMap.java

        @J2ktIncompatible
            @SuppressWarnings("unchecked") // reading data stored by writeObject
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
          stream.defaultReadObject();
          setInverse((AbstractBiMap<V, K>) requireNonNull(stream.readObject()));
        }
    
        @GwtIncompatible // Not needed in the emulated source.
        @J2ktIncompatible
        Object readResolve() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

        @Override
            Object writeReplace() {
          return new EntrySetSerializedForm<E>(ImmutableMultiset.this);
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use EntrySetSerializedForm");
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked")
        // reading data stored by writeObject
        Comparator<? super E> comparator = (Comparator<? super E>) requireNonNull(stream.readObject());
        deserializationReplacement = new TreeMultiset<>(comparator);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return Primitives.wrap(type).cast(value);
      }
    
        private Object writeReplace() {
        return new SerializedForm<>(delegate());
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

          Set<Entry<V, K>> result = inverseEntrySet;
          return (result == null) ? inverseEntrySet = new InverseEntrySet<>(obverse) : result;
        }
    
        @GwtIncompatible("serialization")
        private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
          in.defaultReadObject();
          this.obverse.inverse = this;
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        @J2ktIncompatible // serialization
        Object writeReplace() {
          return new AsSetSerializedForm<C>(ranges, domain);
        }
    
        @J2ktIncompatible // java.io.ObjectInputStream
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
        abstract Object writeReplace();
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xdecaf;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Basic implementation of {@code Multiset<E>} backed by an instance of {@code Map<E, Count>}.
     *
     * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
     * writeObject} methods.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
        implements Serializable {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        @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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top