Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for defaultReadObject (0.2 sec)

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

      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(Maps.<E, Count>newHashMap());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ArrayListMultimap.java

      }
    
      @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);
        Map<K, Collection<V>> map = Maps.newHashMap();
        setMap(map);
    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)
  3. guava/src/com/google/common/cache/LongAdder.java

        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 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashMultimap.java

      }
    
      @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);
        Map<K, Collection<V>> map = Platform.newHashMapWithExpectedSize(12);
        setMap(map);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EnumHashBiMap.java

      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LongAdder.java

        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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

        }
      }
    
      /** Reconstitutes the instance from a stream (that is, deserializes it). */
      private void readObject(java.io.ObjectInputStream s)
          throws java.io.IOException, ClassNotFoundException {
        s.defaultReadObject();
    
        int length = s.readInt();
        ImmutableLongArray.Builder builder = ImmutableLongArray.builder();
        for (int i = 0; i < length; i++) {
          builder.add(doubleToRawLongBits(s.readDouble()));
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumMultiset.java

       */
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EnumHashBiMap.java

      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumBiMap.java

      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top