public static class Long2FloatMaps.SynchronizedOrderedMap extends Long2FloatMaps.SynchronizedMap implements Long2FloatOrderedMap
AbstractLong2FloatMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2FloatOrderedMap.FastOrderedSetLong2FloatMap.BuilderCache, Long2FloatMap.Entry, Long2FloatMap.FastEntrySet, Long2FloatMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2FloatOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatValue()
A method to get the first Value of a Map.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
float |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
float |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
LongOrderedSet |
keySet() |
float |
lastFloatValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
ObjectOrderedSet<Long2FloatMap.Entry> |
long2FloatEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
float |
putAndMoveToFirst(long key,
float value)
A customized put method that allows you to insert into the first index.
|
float |
putAndMoveToLast(long key,
float value)
A customized put method that allows you to insert into the last index.
|
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, applyAsFloat, builder, compute, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllFloat, mergeFloat, put, put, 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(long key,
float value)
Long2FloatOrderedMapputAndMoveToFirst in interface Long2FloatOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public float putAndMoveToLast(long key,
float value)
Long2FloatOrderedMapputAndMoveToLast in interface Long2FloatOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2FloatOrderedMapmoveToFirst in interface Long2FloatOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2FloatOrderedMapmoveToLast in interface Long2FloatOrderedMapkey - that should be moved to the first lastpublic float getAndMoveToFirst(long key)
Long2FloatOrderedMapgetAndMoveToFirst in interface Long2FloatOrderedMapkey - that is searched forpublic float getAndMoveToLast(long key)
Long2FloatOrderedMapgetAndMoveToLast in interface Long2FloatOrderedMapkey - that is searched forpublic long firstLongKey()
Long2FloatOrderedMapfirstLongKey in interface Long2FloatOrderedMappublic long pollFirstLongKey()
Long2FloatOrderedMappollFirstLongKey in interface Long2FloatOrderedMappublic long lastLongKey()
Long2FloatOrderedMaplastLongKey in interface Long2FloatOrderedMappublic long pollLastLongKey()
Long2FloatOrderedMappollLastLongKey in interface Long2FloatOrderedMappublic float firstFloatValue()
Long2FloatOrderedMapfirstFloatValue in interface Long2FloatOrderedMappublic float lastFloatValue()
Long2FloatOrderedMaplastFloatValue in interface Long2FloatOrderedMappublic Long2FloatOrderedMap copy()
Long2FloatMapcopy in interface Long2FloatMapcopy in interface Long2FloatOrderedMapcopy in class Long2FloatMaps.SynchronizedMappublic LongOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Long,java.lang.Float>keySet in interface Long2FloatMapkeySet in interface Long2FloatOrderedMapkeySet in class Long2FloatMaps.SynchronizedMappublic ObjectOrderedSet<Long2FloatMap.Entry> long2FloatEntrySet()
Long2FloatMaplong2FloatEntrySet in interface Long2FloatMaplong2FloatEntrySet in interface Long2FloatOrderedMaplong2FloatEntrySet in class Long2FloatMaps.SynchronizedMap