public static class Short2FloatMaps.SynchronizedOrderedMap extends Short2FloatMaps.SynchronizedMap implements Short2FloatOrderedMap
AbstractShort2FloatMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2FloatOrderedMap.FastOrderedSetShort2FloatMap.BuilderCache, Short2FloatMap.Entry, Short2FloatMap.FastEntrySet, Short2FloatMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2FloatOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
float |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
float |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
float |
lastFloatValue()
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.
|
float |
putAndMoveToFirst(short key,
float value)
A customized put method that allows you to insert into the first index.
|
float |
putAndMoveToLast(short key,
float value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2FloatMap.Entry> |
short2FloatEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
addTo, addToAll, clear, compute, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllFloat, mergeFloat, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceFloats, replaceFloats, setDefaultReturnValue, size, subFrom, supplyFloatIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiableaddTo, addToAll, builder, compute, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllFloat, mergeFloat, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceFloats, replaceFloats, setDefaultReturnValue, subFrom, supplyFloatIfAbsent, valuespublic float putAndMoveToFirst(short key,
float value)
Short2FloatOrderedMapputAndMoveToFirst in interface Short2FloatOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public float putAndMoveToLast(short key,
float value)
Short2FloatOrderedMapputAndMoveToLast in interface Short2FloatOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2FloatOrderedMapmoveToFirst in interface Short2FloatOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2FloatOrderedMapmoveToLast in interface Short2FloatOrderedMapkey - that should be moved to the first lastpublic float getAndMoveToFirst(short key)
Short2FloatOrderedMapgetAndMoveToFirst in interface Short2FloatOrderedMapkey - that is searched forpublic float getAndMoveToLast(short key)
Short2FloatOrderedMapgetAndMoveToLast in interface Short2FloatOrderedMapkey - that is searched forpublic short firstShortKey()
Short2FloatOrderedMapfirstShortKey in interface Short2FloatOrderedMappublic short pollFirstShortKey()
Short2FloatOrderedMappollFirstShortKey in interface Short2FloatOrderedMappublic short lastShortKey()
Short2FloatOrderedMaplastShortKey in interface Short2FloatOrderedMappublic short pollLastShortKey()
Short2FloatOrderedMappollLastShortKey in interface Short2FloatOrderedMappublic float firstFloatValue()
Short2FloatOrderedMapfirstFloatValue in interface Short2FloatOrderedMappublic float lastFloatValue()
Short2FloatOrderedMaplastFloatValue in interface Short2FloatOrderedMappublic Short2FloatOrderedMap copy()
Short2FloatMapcopy in interface Short2FloatMapcopy in interface Short2FloatOrderedMapcopy in class Short2FloatMaps.SynchronizedMappublic ShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Float>keySet in interface Short2FloatMapkeySet in interface Short2FloatOrderedMapkeySet in class Short2FloatMaps.SynchronizedMappublic ObjectOrderedSet<Short2FloatMap.Entry> short2FloatEntrySet()
Short2FloatMapshort2FloatEntrySet in interface Short2FloatMapshort2FloatEntrySet in interface Short2FloatOrderedMapshort2FloatEntrySet in class Short2FloatMaps.SynchronizedMap