public interface Long2FloatOrderedMap extends Long2FloatMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Long2FloatOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Long2FloatMap.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.
|
default Long2FloatOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Long2FloatOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Long2FloatOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, 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, valuesfloat putAndMoveToFirst(long key,
float value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)float putAndMoveToLast(long key,
float value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(long key)
key - that should be moved to the first indexboolean moveToLast(long key)
key - that should be moved to the first lastfloat getAndMoveToFirst(long key)
key - that is searched forfloat getAndMoveToLast(long key)
key - that is searched forlong firstLongKey()
long pollFirstLongKey()
long lastLongKey()
long pollLastLongKey()
float firstFloatValue()
float lastFloatValue()
Long2FloatOrderedMap copy()
Long2FloatMapcopy in interface Long2FloatMapLongOrderedSet keySet()
keySet in interface Long2FloatMapkeySet in interface java.util.Map<java.lang.Long,java.lang.Float>ObjectOrderedSet<Long2FloatMap.Entry> long2FloatEntrySet()
Long2FloatMaplong2FloatEntrySet in interface Long2FloatMapdefault Long2FloatOrderedMap synchronize()
synchronize in interface Long2FloatMapLong2FloatMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2FloatMap)default Long2FloatOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Long2FloatMapmutex - is the controller of the synchronization blockLong2FloatMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2FloatMap)default Long2FloatOrderedMap unmodifiable()
unmodifiable in interface Long2FloatMapLong2FloatMaps.unmodifiable(speiger.src.collections.longs.maps.interfaces.Long2FloatMap)