-
static final class
A builder for creating immutable ListMultimap instances, especially public
static final multimaps ("constant multimaps").
static final class
A builder for creating immutable SetMultimap instances, especially public static
final multimaps ("constant multimaps").
Specifies the ordering of the generated multimap's keys.
Specifies the ordering of the generated multimap's values for each key.
ImmutableMultimap.Builder.put(Map.Entry<? extends K,? extends V> entry)
Adds an entry to the built multimap.
ImmutableMultimap.Builder.put(K key,
V value)
Adds a key-value mapping to the built multimap.
Stores another multimap's entries in the built multimap.
Adds entries to the built multimap.
Stores a collection of values with the same key in the built multimap.
ImmutableMultimap.Builder.putAll(K key,
V... values)
Stores an array of values with the same key in the built multimap.