Class SplayMap.DescendingSubMap<V>
java.lang.Object
java.util.AbstractMap<UnsignedInteger,E>
org.apache.qpid.protonj2.engine.util.SplayMap.DescendingSubMap<V>
- All Implemented Interfaces:
Map<UnsignedInteger,,V> NavigableMap<UnsignedInteger,,V> SortedMap<UnsignedInteger,V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classSpecialized iterator for the sub-map type that iterators on a generic type but internally contains splayed entries from the splay map tree.Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal Map.Entry<UnsignedInteger,V> final UnsignedIntegerprotected final voidcheckInRange(int fromKey, boolean fromInclusive, int toKey, boolean toInclusive) Comparator<? super UnsignedInteger>booleancontainsKey(int key) booleancontainsKey(Object key) protected final SplayMap.SplayedEntry<V>entryOrPredecessor(int key) protected final SplayMap.SplayedEntry<V>entryOrSuccessor(int key) protected final SplayMap.SplayedEntry<V>entryPredecessor(int key) entrySet()protected final SplayMap.SplayedEntry<V>entrySuccessor(int key) final Map.Entry<UnsignedInteger,V> final UnsignedIntegerfirstKey()final Map.Entry<UnsignedInteger,V> final UnsignedIntegerfloorKey(UnsignedInteger key) voidforEach(BiConsumer<? super UnsignedInteger, ? super V> action) final Vget(int key) final VheadMap(UnsignedInteger toKey) headMap(UnsignedInteger toKey, boolean inclusive) final Map.Entry<UnsignedInteger,V> final UnsignedIntegerhigherKey(UnsignedInteger key) protected final SplayMap.SplayedEntry<V>booleanisEmpty()protected final booleanisInRange(int key) protected final booleanisToHigh(int key) protected final booleanisToLow(int key) final Set<UnsignedInteger>keySet()final Map.Entry<UnsignedInteger,V> final UnsignedIntegerlastKey()final Map.Entry<UnsignedInteger,V> final UnsignedIntegerlowerKey(UnsignedInteger key) protected final SplayMap.SplayedEntry<V>final NavigableSet<UnsignedInteger>final Map.Entry<UnsignedInteger,V> final Map.Entry<UnsignedInteger,V> final Vfinal Vput(UnsignedInteger key, V value) final Vremove(int key) final Vintsize()subMap(UnsignedInteger fromKey, boolean fromInclusive, UnsignedInteger toKey, boolean toInclusive) subMap(UnsignedInteger fromKey, UnsignedInteger toKey) tailMap(UnsignedInteger fromKey) tailMap(UnsignedInteger fromKey, boolean inclusive) Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, putAll, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsValue, equals, getOrDefault, hashCode, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
backingMap
-
-
Method Details
-
comparator
-
descendingMap
-
subMap
public NavigableMap<UnsignedInteger,V> subMap(UnsignedInteger fromKey, boolean fromInclusive, UnsignedInteger toKey, boolean toInclusive) -
headMap
-
tailMap
-
entrySet
- Specified by:
entrySetin interfaceMap<UnsignedInteger,V> - Specified by:
entrySetin interfaceSortedMap<UnsignedInteger,V> - Specified by:
entrySetin classAbstractMap<UnsignedInteger,V>
-
forEach
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap<UnsignedInteger,E> - Overrides:
isEmptyin classAbstractMap<UnsignedInteger,E>
-
size
public int size()- Specified by:
sizein interfaceMap<UnsignedInteger,E> - Overrides:
sizein classAbstractMap<UnsignedInteger,E>
-
containsKey
- Specified by:
containsKeyin interfaceMap<UnsignedInteger,E> - Overrides:
containsKeyin classAbstractMap<UnsignedInteger,E>
-
containsKey
public boolean containsKey(int key) -
put
- Specified by:
putin interfaceMap<UnsignedInteger,E> - Overrides:
putin classAbstractMap<UnsignedInteger,E>
-
put
-
get
- Specified by:
getin interfaceMap<UnsignedInteger,E> - Overrides:
getin classAbstractMap<UnsignedInteger,E>
-
get
-
remove
- Specified by:
removein interfaceMap<UnsignedInteger,E> - Overrides:
removein classAbstractMap<UnsignedInteger,E>
-
remove
-
ceilingEntry
- Specified by:
ceilingEntryin interfaceNavigableMap<UnsignedInteger,E>
-
ceilingKey
- Specified by:
ceilingKeyin interfaceNavigableMap<UnsignedInteger,E>
-
higherEntry
- Specified by:
higherEntryin interfaceNavigableMap<UnsignedInteger,E>
-
higherKey
- Specified by:
higherKeyin interfaceNavigableMap<UnsignedInteger,E>
-
floorEntry
- Specified by:
floorEntryin interfaceNavigableMap<UnsignedInteger,E>
-
floorKey
- Specified by:
floorKeyin interfaceNavigableMap<UnsignedInteger,E>
-
lowerEntry
- Specified by:
lowerEntryin interfaceNavigableMap<UnsignedInteger,E>
-
lowerKey
- Specified by:
lowerKeyin interfaceNavigableMap<UnsignedInteger,E>
-
firstKey
- Specified by:
firstKeyin interfaceSortedMap<UnsignedInteger,E>
-
lastKey
- Specified by:
lastKeyin interfaceSortedMap<UnsignedInteger,E>
-
firstEntry
- Specified by:
firstEntryin interfaceNavigableMap<UnsignedInteger,E>
-
lastEntry
- Specified by:
lastEntryin interfaceNavigableMap<UnsignedInteger,E>
-
pollFirstEntry
- Specified by:
pollFirstEntryin interfaceNavigableMap<UnsignedInteger,E>
-
pollLastEntry
- Specified by:
pollLastEntryin interfaceNavigableMap<UnsignedInteger,E>
-
subMap
- Specified by:
subMapin interfaceNavigableMap<UnsignedInteger,E> - Specified by:
subMapin interfaceSortedMap<UnsignedInteger,E>
-
headMap
- Specified by:
headMapin interfaceNavigableMap<UnsignedInteger,E> - Specified by:
headMapin interfaceSortedMap<UnsignedInteger,E>
-
tailMap
- Specified by:
tailMapin interfaceNavigableMap<UnsignedInteger,E> - Specified by:
tailMapin interfaceSortedMap<UnsignedInteger,E>
-
keySet
- Specified by:
keySetin interfaceMap<UnsignedInteger,E> - Specified by:
keySetin interfaceSortedMap<UnsignedInteger,E> - Overrides:
keySetin classAbstractMap<UnsignedInteger,E>
-
descendingKeySet
- Specified by:
descendingKeySetin interfaceNavigableMap<UnsignedInteger,E>
-
lowestPossibleEntry
-
highestPossibleEntry
-
entryOrSuccessor
-
entrySuccessor
-
entryOrPredecessor
-
entryPredecessor
-
checkInRange
protected final void checkInRange(int fromKey, boolean fromInclusive, int toKey, boolean toInclusive) -
isInRange
protected final boolean isInRange(int key) -
isToLow
protected final boolean isToLow(int key) -
isToHigh
protected final boolean isToHigh(int key)
-