Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.builder()
Returns a new
ImmutableSetMultimap.Builder . |
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.orderKeysBy(Comparator<? super K> keyComparator)
Specifies the ordering of the generated multimap's keys.
|
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.orderValuesBy(Comparator<? super V> valueComparator)
Specifies the ordering of the generated multimap's values for each key.
|
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.put(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.putAll(K key,
Iterable<? extends V> values) |
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.putAll(K key,
V... values) |
ImmutableSetMultimap.Builder<K,V> |
ImmutableSetMultimap.Builder.putAll(Multimap<? extends K,? extends V> multimap) |
Copyright © 2010-2013. All Rights Reserved.