Package ghidra.util.datastruct
Class AbstractWeakValueMap.WeakValueRef<K,V>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<V>
-
- ghidra.util.datastruct.AbstractWeakValueMap.WeakValueRef<K,V>
-
- Type Parameters:
K
- the type of keyV
- the type of value
- Enclosing class:
- AbstractWeakValueMap<K,V>
protected static class AbstractWeakValueMap.WeakValueRef<K,V> extends java.lang.ref.WeakReference<V>
A weak value ref that also knows its key in the map.Used for processing the reference queue, so we know which keys to remove.