@GwtCompatible public abstract class ForwardingConcurrentMap<K,V> extends ForwardingMap<K ,V> implements ConcurrentMap <K ,V>
ForwardingMap.StandardEntrySet , ForwardingMap.StandardKeySet , ForwardingMap.StandardValues | Modifier | Constructor and Description |
|---|---|
protected |
ForwardingConcurrentMap()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ConcurrentMap |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
V |
putIfAbsent(K key, V value)
|
boolean |
remove(Object
|
V |
replace(K key, V value)
|
boolean |
replace(K key, V oldValue, V newValue)
|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuestoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllprotected ForwardingConcurrentMap()
protected abstract ConcurrentMap<K ,V> delegate()
ForwardingObject
ForwardingSet.delegate() . Concrete subclasses override this method to supply the instance being decorated.