Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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().
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<>(this);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

          return copyOf(elements);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    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)
  4. guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<>(this);
      }
    
      @J2ktIncompatible // serialization
      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
    - 22.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        void readEntries(ObjectInputStream in) throws IOException, ClassNotFoundException {
          while (true) {
            K key = (K) in.readObject();
            if (key == null) {
              break; // terminator
            }
            V value = (V) in.readObject();
            delegate.put(key, value);
          }
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/LocalCache.java

              builder.maximumSize(maxWeight);
            }
          }
          if (ticker != null) {
            builder.ticker(ticker);
          }
          return builder;
        }
    
        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          CacheBuilder<K, V> builder = recreateCacheBuilder();
          this.delegate = builder.build();
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

          return copyOf(elements);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * operations will work correctly. To allow concurrent update operations, wrap your multimap with a
     * call to {@link Multimaps#synchronizedMultimap}.
     *
     * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
     * writeObject} methods.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("WrongCommentType") // false positive
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        @J2ktIncompatible
        @Override
        Object writeReplace() {
          return new KeysSerializedForm(ImmutableMultimap.this);
        }
    
        @GwtIncompatible
        @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use KeysSerializedForm");
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

          p = Double.MIN_VALUE;
        }
        return (long) (-n * Math.log(p) / SQUARED_LOG_TWO);
      }
    
        private Object writeReplace() {
        return new SerialForm<T>(this);
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      private static final class SerialForm<T extends @Nullable Object> implements Serializable {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 19:23:59 GMT 2025
    - 26.9K bytes
    - Click Count (0)
Back to Top