public abstract class AbstractSynchronizedPutMultimap<K,V,C extends MutableCollection<V>> extends AbstractMutableMultimap<K,V,C>
| Modifier and Type | Method and Description |
|---|---|
C |
getIfAbsentPutAll(K key,
Iterable<? extends V> values) |
boolean |
put(K key,
V value) |
int |
size()
Use the size method directly instead of totalSize internally so subclasses can override if necessary.
|
MutableMultimap<K,V> |
withKeyMultiValues(K key,
V... values) |
clear, get, isEmpty, keySet, putAll, putAll, readExternal, remove, removeAll, replaceValues, sizeDistinct, toMap, toMap, writeExternalcollectKeyMultiValues, collectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, toString, valuesViewadd, asSynchronized, collectKeyMultiValues, collectKeysValues, collectValues, flip, newEmpty, putAllPairs, putAllPairs, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, withKeyValuecollectKeyMultiValues, collectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, toImmutable, toMutable, valuesViewpublic int size()
AbstractMutableMultimappublic boolean put(K key, V value)
put in interface MutableMultimap<K,V>put in class AbstractMutableMultimap<K,V,C extends MutableCollection<V>>public MutableMultimap<K,V> withKeyMultiValues(K key, V... values)
public C getIfAbsentPutAll(K key, Iterable<? extends V> values)
getIfAbsentPutAll in interface MutableMultimap<K,V>getIfAbsentPutAll in class AbstractMutableMultimap<K,V,C extends MutableCollection<V>>Copyright © 2004–2022. All rights reserved.