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,
Iterable<? extends V> values) |
ImmutableMultimap<K,V> |
newWithout(Object key,
Object value) |
ImmutableMultimap<K,V> |
newWithoutAll(Object key) |
containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toImmutable, toMap, toMap, toMutable, valuesView
ImmutableMultimap<K,V> newEmpty()
Multimap
ImmutableCollection<V> get(K key)
Multimap
RichIterable
is returned.ImmutableMultimap<K,V> newWith(K key, V value)
ImmutableMultimap<K,V> newWithout(Object key, Object value)
ImmutableMultimap<K,V> newWithoutAll(Object key)
Copyright © 2004–2017. All rights reserved.