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:
Map<K,,V> NavigableMap<K,,V> SequencedMap<K,,V> 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 keys
TODO: 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
FieldsModifier and TypeFieldDescriptionprotected final AbstractWeakValueNavigableMap<K, V> protected final NavigableMap<K, AbstractWeakValueMap.WeakValueRef<K, V>> Fields inherited from class ghidra.util.datastruct.AbstractWeakValueMap
refQueue -
Constructor Summary
ConstructorsConstructorDescriptionNavigableView(AbstractWeakValueNavigableMap<K, V> map, NavigableMap<K, AbstractWeakValueMap.WeakValueRef<K, V>> sub) -
Method Summary
Modifier and TypeMethodDescriptionprotected NavigableMap<K, AbstractWeakValueMap.WeakValueRef<K, V>> Returns the backing mapMethods 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, tailMapMethods inherited from class ghidra.util.datastruct.AbstractWeakValueMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, processQueue, put, putAll, remove, size, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizeMethods inherited from interface java.util.NavigableMap
reversedMethods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues
-
Field Details
-
map
-
mod
-
-
Constructor Details
-
Method Details
-
getRefMap
Description copied from class:AbstractWeakValueMapReturns the backing map- Specified by:
getRefMapin classAbstractWeakValueNavigableMap<K,V> - Returns:
- the map
-