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(java.util.Comparator<? super V> valueComparator) |
Configures this Builder to order entries by value according to the specified
comparator.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.put(java.util.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(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries) |
Adds all of the given entries to the built map.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.putAll(java.util.Map<? extends K,? extends V> map) |
Associates all of the given map's keys and values in the built map.
|