public interface MutableBagMultimap<K,V> extends MutableMultimap<K,V>, UnsortedBagMultimap<K,V>
| Modifier and Type | Method and Description |
|---|---|
MutableBag<V> |
get(K key)
Returns a view of all values associated with the given key.
|
MutableBagMultimap<K,V> |
newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
MutableBag<V> |
removeAll(Object key) |
MutableBag<V> |
replaceValues(K key,
Iterable<? extends V> values) |
clear, put, putAll, putAll, putAllPairs, removetoImmutable, toMutablecontainsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, size, sizeDistinct, toMap, toMap, valuesViewMutableBag<V> replaceValues(K key, Iterable<? extends V> values)
replaceValues in interface MutableMultimap<K,V>MutableBag<V> removeAll(Object key)
removeAll in interface MutableMultimap<K,V>MutableBagMultimap<K,V> newEmpty()
MultimapMutableBag<V> get(K key)
MultimapRichIterable is returned.Copyright © 2004–2017. All rights reserved.