Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newHashMapWithExpectedSize (0.25 sec)

  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);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MultimapBuilder.java

        return new MultimapBuilderWithKeys<@Nullable Object>() {
          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newHashMapWithExpectedSize(expectedKeys);
          }
        };
      }
    
      /**
       * Uses a hash table to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top