public interface Float2LongOrderedMap extends Float2LongMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Float2LongOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Float2LongMap.BuilderCache, Float2LongMap.Entry, Float2LongMap.FastEntrySet, Float2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Float2LongOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
ObjectOrderedSet<Float2LongMap.Entry> |
float2LongEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
long |
getAndMoveToFirst(float key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
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.
|
long |
lastLongValue()
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.
|
long |
putAndMoveToFirst(float key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(float key,
long value)
A customized put method that allows you to insert into the last index.
|
default Float2LongOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Float2LongOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Float2LongOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, subFrom, supplyLongIfAbsent, valueslong putAndMoveToFirst(float key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)long putAndMoveToLast(float key,
long 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 lastlong getAndMoveToFirst(float key)
key - that is searched forlong getAndMoveToLast(float key)
key - that is searched forfloat firstFloatKey()
float pollFirstFloatKey()
float lastFloatKey()
float pollLastFloatKey()
long firstLongValue()
long lastLongValue()
Float2LongOrderedMap copy()
Float2LongMapcopy in interface Float2LongMapFloatOrderedSet keySet()
keySet in interface Float2LongMapkeySet in interface java.util.Map<java.lang.Float,java.lang.Long>ObjectOrderedSet<Float2LongMap.Entry> float2LongEntrySet()
Float2LongMapfloat2LongEntrySet in interface Float2LongMapdefault Float2LongOrderedMap synchronize()
synchronize in interface Float2LongMapFloat2LongMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2LongMap)default Float2LongOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Float2LongMapmutex - is the controller of the synchronization blockFloat2LongMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2LongMap)default Float2LongOrderedMap unmodifiable()
unmodifiable in interface Float2LongMapFloat2LongMaps.unmodifiable(speiger.src.collections.floats.maps.interfaces.Float2LongMap)