public static class Short2DoubleMaps.SynchronizedOrderedMap extends Short2DoubleMaps.SynchronizedMap implements Short2DoubleOrderedMap
AbstractShort2DoubleMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2DoubleOrderedMap.FastOrderedSetShort2DoubleMap.BuilderCache, Short2DoubleMap.Entry, Short2DoubleMap.FastEntrySet, Short2DoubleMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2DoubleOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
double |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
double |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
double |
lastDoubleValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
double |
putAndMoveToFirst(short key,
double value)
A customized put method that allows you to insert into the first index.
|
double |
putAndMoveToLast(short key,
double value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2DoubleMap.Entry> |
short2DoubleEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
addTo, addToAll, clear, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValue, size, subFrom, supplyDoubleIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiableaddTo, 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, valuespublic double putAndMoveToFirst(short key,
double value)
Short2DoubleOrderedMapputAndMoveToFirst in interface Short2DoubleOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public double putAndMoveToLast(short key,
double value)
Short2DoubleOrderedMapputAndMoveToLast in interface Short2DoubleOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2DoubleOrderedMapmoveToFirst in interface Short2DoubleOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2DoubleOrderedMapmoveToLast in interface Short2DoubleOrderedMapkey - that should be moved to the first lastpublic double getAndMoveToFirst(short key)
Short2DoubleOrderedMapgetAndMoveToFirst in interface Short2DoubleOrderedMapkey - that is searched forpublic double getAndMoveToLast(short key)
Short2DoubleOrderedMapgetAndMoveToLast in interface Short2DoubleOrderedMapkey - that is searched forpublic short firstShortKey()
Short2DoubleOrderedMapfirstShortKey in interface Short2DoubleOrderedMappublic short pollFirstShortKey()
Short2DoubleOrderedMappollFirstShortKey in interface Short2DoubleOrderedMappublic short lastShortKey()
Short2DoubleOrderedMaplastShortKey in interface Short2DoubleOrderedMappublic short pollLastShortKey()
Short2DoubleOrderedMappollLastShortKey in interface Short2DoubleOrderedMappublic double firstDoubleValue()
Short2DoubleOrderedMapfirstDoubleValue in interface Short2DoubleOrderedMappublic double lastDoubleValue()
Short2DoubleOrderedMaplastDoubleValue in interface Short2DoubleOrderedMappublic Short2DoubleOrderedMap copy()
Short2DoubleMapcopy in interface Short2DoubleMapcopy in interface Short2DoubleOrderedMapcopy in class Short2DoubleMaps.SynchronizedMappublic ShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Double>keySet in interface Short2DoubleMapkeySet in interface Short2DoubleOrderedMapkeySet in class Short2DoubleMaps.SynchronizedMappublic ObjectOrderedSet<Short2DoubleMap.Entry> short2DoubleEntrySet()
Short2DoubleMapshort2DoubleEntrySet in interface Short2DoubleMapshort2DoubleEntrySet in interface Short2DoubleOrderedMapshort2DoubleEntrySet in class Short2DoubleMaps.SynchronizedMap