Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 148 for Serialization (0.05 sec)

  1. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

       * according to spec.
       *
       * <p>This ordering is not serializable, as its implementation relies on {@link
       * System#identityHashCode(Object)}, so its behavior cannot be preserved across serialization.
       *
       * @since 2.0
       */
      // TODO(kevinb): copy to Comparators, etc.
      @J2ktIncompatible // MapMaker
      public static Ordering<@Nullable Object> arbitrary() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

        return (ImmutableMultiset<K>) super.keys();
      }
    
      @Override
      ImmutableMultiset<K> createKeys() {
        return new Keys();
      }
    
      @SuppressWarnings("serial") // Uses writeReplace, not default serialization
      @WeakOuter
      private final class Keys extends ImmutableMultiset<K> {
        @Override
        public boolean contains(@Nullable Object object) {
          return containsKey(object);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

       *
       * @param expectedSize the initial capacity of this {@code CompactHashSet}.
       */
      CompactHashSet(int expectedSize) {
        init(expectedSize);
      }
    
      /** Pseudoconstructor for serialization support. */
      void init(int expectedSize) {
        Preconditions.checkArgument(expectedSize >= 0, "Expected size must be >= 0");
    
        // Save expectedSize for use in allocArrays()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        return (ImmutableMultiset<K>) super.keys();
      }
    
      @Override
      ImmutableMultiset<K> createKeys() {
        return new Keys();
      }
    
      @SuppressWarnings("serial") // Uses writeReplace, not default serialization
      @WeakOuter
      private final class Keys extends ImmutableMultiset<K> {
        @Override
        public boolean contains(@Nullable Object object) {
          return containsKey(object);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * are reconstructed using public factory methods. This ensures that the implementation types
       * remain as implementation details.
       */
      @J2ktIncompatible // serialization
      private static final class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
        private final Comparator<? super K> comparator;
    
        SerializedForm(ImmutableSortedMap<K, V> sortedMap) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Collection<String> collection = map.values();
    
        LenientSerializableTester.reserializeAndAssertElementsEqual(collection);
      }
    
      // TODO: Re-enable this test after moving to new serialization format in ImmutableMap.
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      @SuppressWarnings("unchecked")
      public void ignore_testSerializationNoDuplication_regularImmutableMap() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

       *
       * @param expectedSize the initial capacity of this {@code CompactHashMap}.
       */
      CompactHashMap(int expectedSize) {
        init(expectedSize);
      }
    
      /** Pseudoconstructor for serialization support. */
      void init(int expectedSize) {
        Preconditions.checkArgument(expectedSize >= 0, "Expected size must be >= 0");
    
        // Save expectedSize for use in allocArrays()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.12.md

        * If the serialization type is 'application/json':
        * If serialization fails, and the original status code was an failure (e.g. 4xx or 5xx), the original status code will be returned.
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

            return false;
          }
          Entry<?, ?> e = (Entry<?, ?>) o;
          Object key = e.getKey();
          return key != null && LocalCache.this.remove(key, e.getValue());
        }
      }
    
      // Serialization Support
    
      /**
       * Serializes the configuration of a LocalCache, reconstituting it as a Cache using CacheBuilder
       * upon deserialization. An instance of this class is fit for use by the writeReplace of
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
Back to top