Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureBuilderMapNonNull (0.14 sec)

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

        public Builder<K, V> put(K key, V value) {
          checkEntryNotNull(key, value);
          ImmutableCollection.Builder<V> valuesBuilder = ensureBuilderMapNonNull().get(key);
          if (valuesBuilder == null) {
            valuesBuilder = newValueCollectionBuilderWithExpectedSize(expectedValuesPerKey);
            ensureBuilderMapNonNull().put(key, valuesBuilder);
          }
          valuesBuilder.add(value);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top