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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
protected void
entryAdded
(SplayMap.SplayedEntry<E> newEntry) protected void
entryDeleted
(SplayMap.SplayedEntry<E> deletedEntry) entrySet()
void
forEach
(BiConsumer<? super UnsignedInteger, ? super E> action) void
void
replaceAll
(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, tailMap
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:SplayMap
A specialized forEach implementation that accepts aConsumer
function 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:
replaceAll
in interfaceMap<UnsignedInteger,
E> - Overrides:
replaceAll
in classSplayMap<E>
-
entryAdded
- Overrides:
entryAdded
in classSplayMap<E>
-
entryDeleted
- Overrides:
entryDeleted
in classSplayMap<E>
-