public interface Byte2DoubleOrderedMap extends Byte2DoubleMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Byte2DoubleOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Byte2DoubleMap.BuilderCache, Byte2DoubleMap.Entry, Byte2DoubleMap.FastEntrySet, Byte2DoubleMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ObjectOrderedSet<Byte2DoubleMap.Entry> |
byte2DoubleEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
Byte2DoubleOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
double |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
double |
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.
|
double |
lastDoubleValue()
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.
|
double |
putAndMoveToFirst(byte key,
double value)
A customized put method that allows you to insert into the first index.
|
double |
putAndMoveToLast(byte key,
double value)
A customized put method that allows you to insert into the last index.
|
default Byte2DoubleOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2DoubleOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2DoubleOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsDouble, builder, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValue, subFrom, supplyDoubleIfAbsent, valuesdouble putAndMoveToFirst(byte key,
double value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)double putAndMoveToLast(byte key,
double 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 lastdouble getAndMoveToFirst(byte key)
key - that is searched fordouble getAndMoveToLast(byte key)
key - that is searched forbyte firstByteKey()
byte pollFirstByteKey()
byte lastByteKey()
byte pollLastByteKey()
double firstDoubleValue()
double lastDoubleValue()
Byte2DoubleOrderedMap copy()
Byte2DoubleMapcopy in interface Byte2DoubleMapByteOrderedSet keySet()
keySet in interface Byte2DoubleMapkeySet in interface java.util.Map<java.lang.Byte,java.lang.Double>ObjectOrderedSet<Byte2DoubleMap.Entry> byte2DoubleEntrySet()
Byte2DoubleMapbyte2DoubleEntrySet in interface Byte2DoubleMapdefault Byte2DoubleOrderedMap synchronize()
synchronize in interface Byte2DoubleMapByte2DoubleMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2DoubleMap)default Byte2DoubleOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Byte2DoubleMapmutex - is the controller of the synchronization blockByte2DoubleMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2DoubleMap)default Byte2DoubleOrderedMap unmodifiable()
unmodifiable in interface Byte2DoubleMapByte2DoubleMaps.unmodifiable(speiger.src.collections.bytes.maps.interfaces.Byte2DoubleMap)