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