public interface ImmutableListMultimap<K,V> extends ListMultimap<K,V>, ImmutableMultimap<K,V>
Modifier and Type | Method and Description |
---|---|
ImmutableList<V> |
get(K key)
Returns a view of all values associated with the given key.
|
ImmutableListMultimap<K,V> |
newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
ImmutableListMultimap<K,V> |
newWith(K key,
V value) |
ImmutableListMultimap<K,V> |
newWithAll(K key,
Iterable<? extends V> values) |
ImmutableListMultimap<K,V> |
newWithout(Object key,
Object value) |
ImmutableListMultimap<K,V> |
newWithoutAll(Object key) |
toImmutable, toMutable
containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toMap, toMap, valuesView
ImmutableListMultimap<K,V> newEmpty()
Multimap
ImmutableList<V> get(K key)
Multimap
RichIterable
is returned.ImmutableListMultimap<K,V> newWith(K key, V value)
newWith
in interface ImmutableMultimap<K,V>
ImmutableListMultimap<K,V> newWithout(Object key, Object value)
newWithout
in interface ImmutableMultimap<K,V>
ImmutableListMultimap<K,V> newWithAll(K key, Iterable<? extends V> values)
newWithAll
in interface ImmutableMultimap<K,V>
ImmutableListMultimap<K,V> newWithoutAll(Object key)
newWithoutAll
in interface ImmutableMultimap<K,V>
Copyright © 2004–2018. All rights reserved.