Class CopyOnWrite.WeakValueAbstractCowMap<K,V>
java.lang.Object
ghidra.util.datastruct.AbstractWeakValueMap<K,V>
ghidra.trace.util.CopyOnWrite.WeakValueAbstractCowMap<K,V>
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
CopyOnWrite.WeakValueHashCowMap
- Enclosing interface:
CopyOnWrite
public abstract static class CopyOnWrite.WeakValueAbstractCowMap<K,V>
extends AbstractWeakValueMap<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractWeakValueMap
AbstractWeakValueMap.GeneratedEntry, AbstractWeakValueMap.WeakValueRef<K,V> -
Field Summary
Fields inherited from class AbstractWeakValueMap
refQueue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<K, AbstractWeakValueMap.WeakValueRef<K, V>> Returns the backing mapprotected abstract CopyOnWrite.AbstractCowMap<K, AbstractWeakValueMap.WeakValueRef<K, V>> Methods inherited from class AbstractWeakValueMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, processQueue, put, putAll, remove, size, valuesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
WeakValueAbstractCowMap
public WeakValueAbstractCowMap()
-
-
Method Details
-
newCowMap
protected abstract CopyOnWrite.AbstractCowMap<K, AbstractWeakValueMap.WeakValueRef<K,V>> newCowMap() -
getRefMap
Description copied from class:AbstractWeakValueMapReturns the backing map- Specified by:
getRefMapin classAbstractWeakValueMap<K,V> - Returns:
- the map
-