V - the keyType of elements maintained by this Collectionpublic static class Float2ObjectMaps.SynchronizedOrderedMap<V> extends Float2ObjectMaps.SynchronizedMap<V> implements Float2ObjectOrderedMap<V>
AbstractFloat2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Float2ObjectOrderedMap.FastOrderedSet<V>Float2ObjectMap.BuilderCache<V>, Float2ObjectMap.Entry<V>, Float2ObjectMap.FastEntrySet<V>, Float2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Float2ObjectOrderedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
ObjectOrderedSet<Float2ObjectMap.Entry<V>> |
float2ObjectEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
V |
getAndMoveToFirst(float key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(float key)
A Specific get method that allows to move teh given key/value int the last index.
|
FloatOrderedSet |
keySet() |
float |
lastFloatKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(float key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(float key)
A specific move method to move a given key/value to the last index.
|
float |
pollFirstFloatKey()
A method to get and remove the first Key of a Map.
|
float |
pollLastFloatKey()
A method to get and remove the last Key of a Map.
|
V |
putAndMoveToFirst(float key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(float key,
V value)
A customized put method that allows you to insert into the last index.
|
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, size, supplyIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiableapply, builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuespublic V putAndMoveToFirst(float key, V value)
Float2ObjectOrderedMapputAndMoveToFirst in interface Float2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(float key, V value)
Float2ObjectOrderedMapputAndMoveToLast in interface Float2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(float key)
Float2ObjectOrderedMapmoveToFirst in interface Float2ObjectOrderedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(float key)
Float2ObjectOrderedMapmoveToLast in interface Float2ObjectOrderedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(float key)
Float2ObjectOrderedMapgetAndMoveToFirst in interface Float2ObjectOrderedMap<V>key - that is searched forpublic V getAndMoveToLast(float key)
Float2ObjectOrderedMapgetAndMoveToLast in interface Float2ObjectOrderedMap<V>key - that is searched forpublic float firstFloatKey()
Float2ObjectOrderedMapfirstFloatKey in interface Float2ObjectOrderedMap<V>public float pollFirstFloatKey()
Float2ObjectOrderedMappollFirstFloatKey in interface Float2ObjectOrderedMap<V>public float lastFloatKey()
Float2ObjectOrderedMaplastFloatKey in interface Float2ObjectOrderedMap<V>public float pollLastFloatKey()
Float2ObjectOrderedMappollLastFloatKey in interface Float2ObjectOrderedMap<V>public V firstValue()
Float2ObjectOrderedMapfirstValue in interface Float2ObjectOrderedMap<V>public V lastValue()
Float2ObjectOrderedMaplastValue in interface Float2ObjectOrderedMap<V>public Float2ObjectOrderedMap<V> copy()
Float2ObjectMapcopy in interface Float2ObjectMap<V>copy in interface Float2ObjectOrderedMap<V>copy in class Float2ObjectMaps.SynchronizedMap<V>public FloatOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Float,V>keySet in interface Float2ObjectMap<V>keySet in interface Float2ObjectOrderedMap<V>keySet in class Float2ObjectMaps.SynchronizedMap<V>public ObjectOrderedSet<Float2ObjectMap.Entry<V>> float2ObjectEntrySet()
Float2ObjectMapfloat2ObjectEntrySet in interface Float2ObjectMap<V>float2ObjectEntrySet in interface Float2ObjectOrderedMap<V>float2ObjectEntrySet in class Float2ObjectMaps.SynchronizedMap<V>