Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for valuesBuilder (0.07 sec)

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

        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
      /** Returns a new builder for an immutable range map. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          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