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