Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newLinkedHashMapWithExpectedSize (0.2 sec)

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

      private transient ValueEntry<K, V> multimapHeaderEntry;
    
      private LinkedHashMultimap(int keyCapacity, int valueSetCapacity) {
        super(Platform.<K, Collection<V>>newLinkedHashMapWithExpectedSize(keyCapacity));
        checkNonnegative(valueSetCapacity, "expectedValuesPerKey");
    
        this.valueSetCapacity = valueSetCapacity;
        this.multimapHeaderEntry = ValueEntry.newHeader();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K 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.newLinkedHashMapWithExpectedSize(expectedKeys);
          }
        };
      }
    
      /**
       * Uses a naturally-ordered {@link TreeMap} to map keys to value collections.
       *
    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