Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for populateMultimap (0.08 seconds)

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

       * #writeMultimap} for the data format.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void populateMultimap(
          Multimap<K, V> multimap, ObjectInputStream stream)
          throws IOException, ClassNotFoundException {
        int distinctKeys = stream.readInt();
        populateMultimap(multimap, stream, distinctKeys);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Serialization.java

       * #writeMultimap} for the data format.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void populateMultimap(
          Multimap<K, V> multimap, ObjectInputStream stream)
          throws IOException, ClassNotFoundException {
        int distinctKeys = stream.readInt();
        populateMultimap(multimap, stream, distinctKeys);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/HashMultimap.java

        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = Platform.newHashMapWithExpectedSize(12);
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ArrayListMultimap.java

        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = new HashMap<>();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/HashMultimap.java

        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = Platform.newHashMapWithExpectedSize(12);
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ArrayListMultimap.java

        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = CompactHashMap.create();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeMultimap.java

        valueComparator = requireNonNull((Comparator<? super V>) stream.readObject());
        setMap(new TreeMap<K, Collection<V>>(keyComparator));
        Serialization.populateMultimap(this, stream);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

            return new WrappedSet(key, (Set<V>) collection);
          } else {
            return new WrappedCollection(key, collection, null);
          }
        }
    
        // can't use Serialization writeMultimap and populateMultimap methods since
        // there's no way to generate the empty backing map.
    
        /**
         * @serialData the factory and the backing map
         */
        @GwtIncompatible
        @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multimaps.java

            return new WrappedSet(key, (Set<V>) collection);
          } else {
            return new WrappedCollection(key, collection, null);
          }
        }
    
        // can't use Serialization writeMultimap and populateMultimap methods since
        // there's no way to generate the empty backing map.
    
        /**
         * @serialData the factory and the backing map
         */
        @GwtIncompatible
        @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
Back to Top