public interface ImmutableMultimap<K,V> extends Multimap<K,V>
| Modifier and Type | Method and Description |
|---|---|
ImmutableCollection<V> |
get(K key)
Returns a view of all values associated with the given key.
|
ImmutableMultimap<K,V> |
newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
ImmutableMultimap<K,V> |
newWith(K key,
V value) |
ImmutableMultimap<K,V> |
newWithAll(K key,
java.lang.Iterable<? extends V> values) |
ImmutableMultimap<K,V> |
newWithout(java.lang.Object key,
java.lang.Object value) |
ImmutableMultimap<K,V> |
newWithoutAll(java.lang.Object key) |
containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toImmutable, toMap, toMap, toMutable, valuesViewImmutableMultimap<K,V> newEmpty()
MultimapImmutableCollection<V> get(K key)
MultimapRichIterable is returned.ImmutableMultimap<K,V> newWith(K key, V value)
ImmutableMultimap<K,V> newWithout(java.lang.Object key, java.lang.Object value)
ImmutableMultimap<K,V> newWithAll(K key, java.lang.Iterable<? extends V> values)
ImmutableMultimap<K,V> newWithoutAll(java.lang.Object key)