public interface ImmutableSortedBagMultimap<K,V> extends ImmutableMultimap<K,V>, SortedBagMultimap<K,V>
| Modifier and Type | Method and Description |
|---|---|
ImmutableSortedBag<V> |
get(K key)
Returns a view of all values associated with the given key.
|
ImmutableSortedBagMultimap<K,V> |
newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
ImmutableSortedBagMultimap<K,V> |
newWith(K key,
V value) |
ImmutableSortedBagMultimap<K,V> |
newWithAll(K key,
Iterable<? extends V> values) |
ImmutableSortedBagMultimap<K,V> |
newWithout(Object key,
Object value) |
ImmutableSortedBagMultimap<K,V> |
newWithoutAll(Object key) |
toImmutable, toMutablecomparatorcontainsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toMap, toMap, valuesViewImmutableSortedBag<V> get(K key)
MultimapRichIterable is returned.get in interface BagMultimap<K,V>get in interface ImmutableMultimap<K,V>get in interface Multimap<K,V>get in interface SortedBagMultimap<K,V>get in interface SortedIterableMultimap<K,V>key - the key to search forImmutableSortedBagMultimap<K,V> newEmpty()
MultimapnewEmpty in interface BagMultimap<K,V>newEmpty in interface ImmutableMultimap<K,V>newEmpty in interface Multimap<K,V>newEmpty in interface SortedBagMultimap<K,V>newEmpty in interface SortedIterableMultimap<K,V>ImmutableSortedBagMultimap<K,V> newWith(K key, V value)
newWith in interface ImmutableMultimap<K,V>ImmutableSortedBagMultimap<K,V> newWithout(Object key, Object value)
newWithout in interface ImmutableMultimap<K,V>ImmutableSortedBagMultimap<K,V> newWithAll(K key, Iterable<? extends V> values)
newWithAll in interface ImmutableMultimap<K,V>ImmutableSortedBagMultimap<K,V> newWithoutAll(Object key)
newWithoutAll in interface ImmutableMultimap<K,V>Copyright © 2004–2017. All rights reserved.