|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ImmutableMultimap.Builder | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of ImmutableMultimap.Builder in com.google.common.collect |
---|
Subclasses of ImmutableMultimap.Builder in com.google.common.collect | |
---|---|
static class |
ImmutableListMultimap.Builder<K,V>
A builder for creating immutable ListMultimap instances, especially
public static final multimaps ("constant multimaps"). |
static class |
ImmutableSetMultimap.Builder<K,V>
A builder for creating immutable SetMultimap instances, especially
public static final multimaps ("constant multimaps"). |
Methods in com.google.common.collect that return ImmutableMultimap.Builder | ||
---|---|---|
static
|
ImmutableMultimap.builder()
Returns a new builder. |
|
ImmutableMultimap.Builder<K,V> |
ImmutableMultimap.Builder.orderKeysBy(Comparator<? super K> keyComparator)
Specifies the ordering of the generated multimap's keys. |
|
ImmutableMultimap.Builder<K,V> |
ImmutableMultimap.Builder.orderValuesBy(Comparator<? super V> valueComparator)
Specifies the ordering of the generated multimap's values for each key. |
|
ImmutableMultimap.Builder<K,V> |
ImmutableMultimap.Builder.put(K key,
V value)
Adds a key-value mapping to the built multimap. |
|
ImmutableMultimap.Builder<K,V> |
ImmutableMultimap.Builder.put(Map.Entry<? extends K,? extends V> entry)
Adds an entry to the built multimap. |
|
ImmutableMultimap.Builder<K,V> |
ImmutableMultimap.Builder.putAll(K key,
Iterable<? extends V> values)
Stores a collection of values with the same key in the built multimap. |
|
ImmutableMultimap.Builder<K,V> |
ImmutableMultimap.Builder.putAll(K key,
V... values)
Stores an array of values with the same key in the built multimap. |
|
ImmutableMultimap.Builder<K,V> |
ImmutableMultimap.Builder.putAll(Multimap<? extends K,? extends V> multimap)
Stores another multimap's entries in the built multimap. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |