public abstract class AbstractSynchronizedPutMultimap<K,V,C extends com.gs.collections.api.collection.MutableCollection<V>> extends AbstractMutableMultimap<K,V,C>
map, totalSize| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSynchronizedPutMultimap() |
protected |
AbstractSynchronizedPutMultimap(com.gs.collections.api.map.MutableMap<K,C> newMap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToTotalSize(int value)
This method is provided to allow for subclasses to provide the behavior.
|
protected void |
clearTotalSize()
This method is provided to allow for subclasses to provide the behavior.
|
protected com.gs.collections.api.map.MutableMap<K,C> |
createMap() |
protected com.gs.collections.api.map.MutableMap<K,C> |
createMapWithKeyCount(int keyCount) |
protected void |
decrementTotalSize()
This method is provided to allow for subclasses to provide the behavior.
|
protected void |
incrementTotalSize()
This method is provided to allow for subclasses to provide the behavior.
|
boolean |
put(K key,
V value) |
int |
size()
Use the size method directly instead of totalSize internally so subclasses can override if necessary.
|
protected void |
subtractFromTotalSize(int value)
This method is provided to allow for subclasses to provide the behavior.
|
clear, get, getMap, isEmpty, putAll, putAll, putAllPairs, readExternal, remove, removeAll, replaceValues, sizeDistinct, toMap, writeExternalcontainsKey, containsKeyAndValue, containsValue, createCollection, createCollectionBlock, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, toMap, toString, valuesViewclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, toImmutable, toMap, toMutable, valuesViewprotected com.gs.collections.api.map.MutableMap<K,C> createMapWithKeyCount(int keyCount)
createMapWithKeyCount in class AbstractMutableMultimap<K,V,C extends com.gs.collections.api.collection.MutableCollection<V>>public int size()
AbstractMutableMultimapprotected void incrementTotalSize()
AbstractMutableMultimapincrementTotalSize in class AbstractMutableMultimap<K,V,C extends com.gs.collections.api.collection.MutableCollection<V>>protected void decrementTotalSize()
AbstractMutableMultimapdecrementTotalSize in class AbstractMutableMultimap<K,V,C extends com.gs.collections.api.collection.MutableCollection<V>>protected void addToTotalSize(int value)
AbstractMutableMultimapaddToTotalSize in class AbstractMutableMultimap<K,V,C extends com.gs.collections.api.collection.MutableCollection<V>>protected void subtractFromTotalSize(int value)
AbstractMutableMultimapsubtractFromTotalSize in class AbstractMutableMultimap<K,V,C extends com.gs.collections.api.collection.MutableCollection<V>>protected void clearTotalSize()
AbstractMutableMultimapclearTotalSize in class AbstractMutableMultimap<K,V,C extends com.gs.collections.api.collection.MutableCollection<V>>