Class LinkedSplayMap<E>
java.lang.Object
org.apache.qpid.protonj2.engine.util.SplayMap<E>
org.apache.qpid.protonj2.engine.util.LinkedSplayMap<E>
- Type Parameters:
E- The type stored in the map entries
- All Implemented Interfaces:
Map<UnsignedInteger,,E> NavigableMap<UnsignedInteger,,E> SortedMap<UnsignedInteger,E>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.qpid.protonj2.engine.util.SplayMap
SplayMap.AscendingSubMap<V>, SplayMap.DescendingSubMap<V>, SplayMap.ImmutableSplayMapEntry<E>, SplayMap.NavigableSubMapKeySet, SplayMap.SplayedEntry<E>, SplayMap.SplayMapKeySet -
Field Summary
Fields inherited from class org.apache.qpid.protonj2.engine.util.SplayMap
COMPARATOR, DEFAULT_ENTRY_POOL_SIZE, descendingMapView, entriesInExistence, entryPool, entrySet, keySet, modCount, REVERSE_COMPARATOR, root, size, values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()protected voidentryAdded(SplayMap.SplayedEntry<E> newEntry) protected voidentryDeleted(SplayMap.SplayedEntry<E> deletedEntry) entrySet()voidforEach(BiConsumer<? super UnsignedInteger, ? super E> action) voidvoidreplaceAll(BiFunction<? super UnsignedInteger, ? super E, ? extends E> function) values()Methods inherited from class org.apache.qpid.protonj2.engine.util.SplayMap
ceilingEntry, ceilingKey, comparator, containsKey, containsKey, containsValue, delete, descendingKeySet, descendingMap, equals, export, firstEntry, firstKey, floorEntry, floorKey, get, get, getOrDefault, getOrDefault, hashCode, headMap, headMap, higherEntry, higherKey, isEmpty, keySet, lastEntry, lastKey, lowerEntry, lowerKey, pollFirstEntry, pollLastEntry, put, put, putAll, putIfAbsent, putIfAbsent, remove, remove, remove, remove, remove, replace, replace, replace, replace, reverseComparator, size, subMap, subMap, tailMap, tailMapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, merge
-
Constructor Details
-
LinkedSplayMap
public LinkedSplayMap()
-
-
Method Details
-
clear
public void clear() -
values
-
entrySet
-
forEach
-
forEach
Description copied from class:SplayMapA specialized forEach implementation that accepts aConsumerfunction that will be called for each value in theSplayMap. This method can save overhead as it does not need to box the primitive key values into an object for the call to the provided function. Unless otherwise specified by the implementing class, actions are performed in the order of entry set iteration (if an iteration order is specified.) -
replaceAll
- Specified by:
replaceAllin interfaceMap<UnsignedInteger,E> - Overrides:
replaceAllin classSplayMap<E>
-
entryAdded
- Overrides:
entryAddedin classSplayMap<E>
-
entryDeleted
- Overrides:
entryDeletedin classSplayMap<E>
-