Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for newHashMapWithExpectedSize (0.1 seconds)

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

        return new LinkedListMultimap<>(multimap);
      }
    
      LinkedListMultimap() {
        this(12);
      }
    
      private LinkedListMultimap(int expectedKeys) {
        keyToKeyList = Platform.newHashMapWithExpectedSize(expectedKeys);
      }
    
      private LinkedListMultimap(Multimap<? extends K, ? extends V> multimap) {
        this(multimap.keySet().size());
        putAll(multimap);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Maps.java

       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Maps.java

       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
Back to Top