public interface Int2FloatOrderedMap extends Int2FloatMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2FloatOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2FloatMap.BuilderCache, Int2FloatMap.Entry, Int2FloatMap.FastEntrySet, Int2FloatMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2FloatOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatValue()
A method to get the first Value of a Map.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
float |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
float |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2FloatMap.Entry> |
int2FloatEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
IntOrderedSet |
keySet() |
float |
lastFloatValue()
A method to get the last Value of a Map.
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(int key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(int key)
A specific move method to move a given key/value to the last index.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
float |
putAndMoveToFirst(int key,
float value)
A customized put method that allows you to insert into the first index.
|
float |
putAndMoveToLast(int key,
float value)
A customized put method that allows you to insert into the last index.
|
default Int2FloatOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2FloatOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2FloatOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, 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, valuesfloat putAndMoveToFirst(int key,
float value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)float putAndMoveToLast(int key,
float value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(int key)
key - that should be moved to the first indexboolean moveToLast(int key)
key - that should be moved to the first lastfloat getAndMoveToFirst(int key)
key - that is searched forfloat getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
float firstFloatValue()
float lastFloatValue()
Int2FloatOrderedMap copy()
Int2FloatMapcopy in interface Int2FloatMapIntOrderedSet keySet()
keySet in interface Int2FloatMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Float>ObjectOrderedSet<Int2FloatMap.Entry> int2FloatEntrySet()
Int2FloatMapint2FloatEntrySet in interface Int2FloatMapdefault Int2FloatOrderedMap synchronize()
synchronize in interface Int2FloatMapInt2FloatMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2FloatMap)default Int2FloatOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2FloatMapmutex - is the controller of the synchronization blockInt2FloatMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2FloatMap)default Int2FloatOrderedMap unmodifiable()
unmodifiable in interface Int2FloatMapInt2FloatMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2FloatMap)