public interface SortedBagMultimap<K,V> extends BagMultimap<K,V>, SortedIterableMultimap<K,V>
Modifier and Type | Method and Description |
---|---|
SortedBag<V> |
get(K key)
Returns a view of all values associated with the given key.
|
SortedBagMultimap<K,V> |
newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
ImmutableSortedBagMultimap<K,V> |
toImmutable()
Returns an immutable copy of this Multimap if it is not already immutable.
|
MutableSortedBagMultimap<K,V> |
toMutable()
Returns a mutable copy of this Multimap.
|
comparator
containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toMap, toMap, valuesView
SortedBagMultimap<K,V> newEmpty()
Multimap
SortedBag<V> get(K key)
Multimap
RichIterable
is returned.MutableSortedBagMultimap<K,V> toMutable()
Multimap
ImmutableSortedBagMultimap<K,V> toImmutable()
Multimap
Serializable
if this Multimap is Serializable
.toImmutable
in interface Multimap<K,V>
Copyright © 2004–2017. All rights reserved.