Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for ReadObject (0.18 sec)

  1. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @J2ktIncompatible
      @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. 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. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/LongAdder.java

        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
        s.defaultReadObject();
        busy = 0;
        cells = null;
        base = s.readLong();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashMultimap.java

        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayListMultimap.java

        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

    /**
     * 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(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int elementCount = stream.readInt();
        if (elementCount < 0) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

        s.defaultWriteObject();
    
        s.writeDouble(get());
      }
    
      /** Reconstitutes the instance from a stream (that is, deserializes it). */
      private void readObject(java.io.ObjectInputStream s)
          throws java.io.IOException, ClassNotFoundException {
        s.defaultReadObject();
        value = new AtomicLong();
        set(s.readDouble());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayListMultimap.java

        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

        }
        init(elementCount);
        for (int i = 0; i < elementCount; i++) {
          K key = (K) stream.readObject();
          V value = (V) stream.readObject();
          put(key, value);
        }
      }
    
      /*
       * The following methods are safe to call as long as both of the following hold:
       *
       * - allocArrays() has been called. Callers can confirm this by checking needsAllocArrays().
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
Back to top