public interface Byte2LongOrderedMap extends Byte2LongMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Byte2LongOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Byte2LongMap.BuilderCache, Byte2LongMap.Entry, Byte2LongMap.FastEntrySet, Byte2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Byte2LongMap.Entry> |
byte2LongEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Byte2LongOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
long |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
getAndMoveToLast(byte key)
A Specific get method that allows to move teh given key/value int the last index.
|
ByteOrderedSet |
keySet() |
byte |
lastByteKey()
A method to get the last Key of a Map.
|
long |
lastLongValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(byte key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(byte key)
A specific move method to move a given key/value to the last index.
|
byte |
pollFirstByteKey()
A method to get and remove the first Key of a Map.
|
byte |
pollLastByteKey()
A method to get and remove the last Key of a Map.
|
long |
putAndMoveToFirst(byte key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(byte key,
long value)
A customized put method that allows you to insert into the last index.
|
default Byte2LongOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2LongOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2LongOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsLong, builder, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, subFrom, supplyLongIfAbsent, valueslong putAndMoveToFirst(byte key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)long putAndMoveToLast(byte key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(byte key)
key - that should be moved to the first indexboolean moveToLast(byte key)
key - that should be moved to the first lastlong getAndMoveToFirst(byte key)
key - that is searched forlong getAndMoveToLast(byte key)
key - that is searched forbyte firstByteKey()
byte pollFirstByteKey()
byte lastByteKey()
byte pollLastByteKey()
long firstLongValue()
long lastLongValue()
Byte2LongOrderedMap copy()
Byte2LongMapcopy in interface Byte2LongMapByteOrderedSet keySet()
keySet in interface Byte2LongMapkeySet in interface java.util.Map<java.lang.Byte,java.lang.Long>ObjectOrderedSet<Byte2LongMap.Entry> byte2LongEntrySet()
Byte2LongMapbyte2LongEntrySet in interface Byte2LongMapdefault Byte2LongOrderedMap synchronize()
synchronize in interface Byte2LongMapByte2LongMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2LongMap)default Byte2LongOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Byte2LongMapmutex - is the controller of the synchronization blockByte2LongMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2LongMap)default Byte2LongOrderedMap unmodifiable()
unmodifiable in interface Byte2LongMapByte2LongMaps.unmodifiable(speiger.src.collections.bytes.maps.interfaces.Byte2LongMap)