Package ghidra.util.datastruct
Class WeakValueHashMap<K,V>
- java.lang.Object
-
- ghidra.util.datastruct.AbstractWeakValueMap<K,V>
-
- ghidra.util.datastruct.WeakValueHashMap<K,V>
-
- All Implemented Interfaces:
java.util.Map<K,V>
public class WeakValueHashMap<K,V> extends AbstractWeakValueMap<K,V>
Class to provide a hash map with weak values.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ghidra.util.datastruct.AbstractWeakValueMap
AbstractWeakValueMap.GeneratedEntry, AbstractWeakValueMap.WeakValueRef<K,V>
-
-
Field Summary
-
Fields inherited from class ghidra.util.datastruct.AbstractWeakValueMap
refQueue
-
-
Constructor Summary
Constructors Constructor Description WeakValueHashMap()Constructs a new weak mapWeakValueHashMap(int initialSize)Constructs a new weak map with the given initial size
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<K,AbstractWeakValueMap.WeakValueRef<K,V>>getRefMap()Returns the backing map-
Methods inherited from class ghidra.util.datastruct.AbstractWeakValueMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, processQueue, put, putAll, remove, size, values
-
-
-
-
Method Detail
-
getRefMap
protected java.util.Map<K,AbstractWeakValueMap.WeakValueRef<K,V>> getRefMap()
Description copied from class:AbstractWeakValueMapReturns the backing map- Specified by:
getRefMapin classAbstractWeakValueMap<K,V>- Returns:
- the map
-
-