Package ghidra.util.datastruct
Class AbstractWeakValueNavigableMap.NavigableView<K,V>
- java.lang.Object
-
- ghidra.util.datastruct.AbstractWeakValueMap<K,V>
-
- ghidra.util.datastruct.AbstractWeakValueNavigableMap<K,V>
-
- ghidra.util.datastruct.AbstractWeakValueNavigableMap.NavigableView<K,V>
-
- Type Parameters:
K
- the type of keysV
- the type of values
- All Implemented Interfaces:
java.util.Map<K,V>
,java.util.NavigableMap<K,V>
,java.util.SortedMap<K,V>
- Enclosing class:
- AbstractWeakValueNavigableMap<K,V>
protected static class AbstractWeakValueNavigableMap.NavigableView<K,V> extends AbstractWeakValueNavigableMap<K,V>
A view of this same map that limits or changes the order of the keysTODO: By virtue of extending (indirectly)
AbstractWeakValueMap
, this view inherits a unique, but totally unused,AbstractWeakValueMap.refQueue
. This is a small and harmless, but unnecessary waste.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ghidra.util.datastruct.AbstractWeakValueNavigableMap
AbstractWeakValueNavigableMap.NavigableView<K,V>
-
Nested classes/interfaces inherited from class ghidra.util.datastruct.AbstractWeakValueMap
AbstractWeakValueMap.GeneratedEntry, AbstractWeakValueMap.WeakValueRef<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractWeakValueNavigableMap<K,V>
map
protected java.util.NavigableMap<K,AbstractWeakValueMap.WeakValueRef<K,V>>
mod
-
Fields inherited from class ghidra.util.datastruct.AbstractWeakValueMap
refQueue
-
-
Constructor Summary
Constructors Constructor Description NavigableView(AbstractWeakValueNavigableMap<K,V> map, java.util.NavigableMap<K,AbstractWeakValueMap.WeakValueRef<K,V>> sub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.NavigableMap<K,AbstractWeakValueMap.WeakValueRef<K,V>>
getRefMap()
Returns the backing map-
Methods inherited from class ghidra.util.datastruct.AbstractWeakValueNavigableMap
ceilingEntry, ceilingKey, comparator, descendingKeySet, descendingMap, firstEntry, firstKey, floorEntry, floorKey, generateEntry, headMap, headMap, higherEntry, higherKey, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMap
-
Methods inherited from class ghidra.util.datastruct.AbstractWeakValueMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, processQueue, put, putAll, remove, size, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
map
protected final AbstractWeakValueNavigableMap<K,V> map
-
mod
protected final java.util.NavigableMap<K,AbstractWeakValueMap.WeakValueRef<K,V>> mod
-
-
Constructor Detail
-
NavigableView
public NavigableView(AbstractWeakValueNavigableMap<K,V> map, java.util.NavigableMap<K,AbstractWeakValueMap.WeakValueRef<K,V>> sub)
-
-
Method Detail
-
getRefMap
protected java.util.NavigableMap<K,AbstractWeakValueMap.WeakValueRef<K,V>> getRefMap()
Description copied from class:AbstractWeakValueMap
Returns the backing map- Specified by:
getRefMap
in classAbstractWeakValueNavigableMap<K,V>
- Returns:
- the map
-
-