V - the type of elements maintained by this Collectionpublic interface Float2ObjectOrderedMap<V> extends Float2ObjectMap<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Float2ObjectOrderedMap.FastOrderedSet<V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
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.
|
default Float2ObjectOrderedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Float2ObjectOrderedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Float2ObjectOrderedMap<V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuesV putAndMoveToFirst(float key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(float key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(float key)
key - that should be moved to the first indexboolean moveToLast(float key)
key - that should be moved to the first lastV getAndMoveToFirst(float key)
key - that is searched forV getAndMoveToLast(float key)
key - that is searched forfloat firstFloatKey()
float pollFirstFloatKey()
float lastFloatKey()
float pollLastFloatKey()
V firstValue()
V lastValue()
Float2ObjectOrderedMap<V> copy()
Float2ObjectMapcopy in interface Float2ObjectMap<V>FloatOrderedSet keySet()
keySet in interface Float2ObjectMap<V>keySet in interface java.util.Map<java.lang.Float,V>ObjectOrderedSet<Float2ObjectMap.Entry<V>> float2ObjectEntrySet()
Float2ObjectMapfloat2ObjectEntrySet in interface Float2ObjectMap<V>default Float2ObjectOrderedMap<V> synchronize()
synchronize in interface Float2ObjectMap<V>Float2ObjectMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2ObjectMap<V>)default Float2ObjectOrderedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Float2ObjectMap<V>mutex - is the controller of the synchronization blockFloat2ObjectMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2ObjectMap<V>)default Float2ObjectOrderedMap<V> unmodifiable()
unmodifiable in interface Float2ObjectMap<V>Float2ObjectMaps.unmodifiable(speiger.src.collections.floats.maps.interfaces.Float2ObjectMap<V>)