static <K,V> ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.builder() |
|
static <K,V> ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.builderWithExpectedKeys(int expectedKeys) |
Returns a new builder with a hint for how many distinct keys are expected to be added.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.expectedValuesPerKey(int expectedValuesPerKey) |
Provides a hint for how many values will be associated with each key newly added to the
builder after this call.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.orderKeysBy(java.util.Comparator<? super K> keyComparator) |
Specifies the ordering of the generated multimap's keys.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.orderValuesBy(java.util.Comparator<? super V> valueComparator) |
Specifies the ordering of the generated multimap's values for each key.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.put(java.util.Map.Entry<? extends K,? extends V> entry) |
Adds an entry to the built multimap if it is not already present.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.put(K key,
V value) |
Adds a key-value mapping to the built multimap if it is not already present.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.putAll(Multimap<? extends K,? extends V> multimap) |
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.putAll(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries) |
Adds entries to the built multimap.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.putAll(K key,
java.lang.Iterable<? extends V> values) |
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.putAll(K key,
V... values) |
|