static <K,V> ImmutableMap.Builder<K,V> |
ImmutableMap.builder() |
Returns a new builder.
|
static <K,V> ImmutableMap.Builder<K,V> |
ImmutableMap.builderWithExpectedSize(int expectedSize) |
Returns a new builder, expecting the specified number of entries to be added.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.orderEntriesByValue(Comparator<? super V> valueComparator) |
Configures this Builder to order entries by value according to the specified
comparator.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.put(Map.Entry<? extends K,? extends V> entry) |
Adds the given entry to the map, making it immutable if necessary.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.put(K key,
V value) |
Associates key with value in the built map.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.putAll(Iterable<? extends Map.Entry<? extends K,? extends V>> entries) |
Adds all of the given entries to the built map.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.putAll(Map<? extends K,? extends V> map) |
Associates all of the given map's keys and values in the built map.
|