public interface MutableListMultimap<K,V> extends ListMultimap<K,V>, MutableMultimap<K,V>
| Modifier and Type | Method and Description |
|---|---|
MutableList<V> |
get(K key)
Returns a view of all values associated with the given key.
|
MutableListMultimap<K,V> |
newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
MutableList<V> |
removeAll(java.lang.Object key) |
MutableList<V> |
replaceValues(K key,
java.lang.Iterable<? extends V> values) |
ImmutableListMultimap<K,V> |
toImmutable()
Returns an immutable copy of this Multimap if it is not already immutable.
|
MutableListMultimap<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, valuesViewclear, put, putAll, putAll, putAllPairs, removeMutableList<V> replaceValues(K key, java.lang.Iterable<? extends V> values)
replaceValues in interface MutableMultimap<K,V>MutableList<V> removeAll(java.lang.Object key)
removeAll in interface MutableMultimap<K,V>MutableListMultimap<K,V> newEmpty()
MultimapMutableList<V> get(K key)
MultimapRichIterable is returned.MutableListMultimap<K,V> toMutable()
MultimapImmutableListMultimap<K,V> toImmutable()
MultimapSerializable if this Multimap is Serializable.toImmutable in interface ListMultimap<K,V>toImmutable in interface Multimap<K,V>