public interface Float2ShortOrderedMap extends Float2ShortMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Float2ShortOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Float2ShortMap.BuilderCache, Float2ShortMap.Entry, Float2ShortMap.FastEntrySet, Float2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Float2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
float |
firstFloatKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
ObjectOrderedSet<Float2ShortMap.Entry> |
float2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
short |
getAndMoveToFirst(float key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
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.
|
short |
lastShortValue()
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.
|
short |
putAndMoveToFirst(float key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(float key,
short value)
A customized put method that allows you to insert into the last index.
|
default Float2ShortOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Float2ShortOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Float2ShortOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsShort, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, valuesshort putAndMoveToFirst(float key,
short value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)short putAndMoveToLast(float key,
short 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 lastshort getAndMoveToFirst(float key)
key - that is searched forshort getAndMoveToLast(float key)
key - that is searched forfloat firstFloatKey()
float pollFirstFloatKey()
float lastFloatKey()
float pollLastFloatKey()
short firstShortValue()
short lastShortValue()
Float2ShortOrderedMap copy()
Float2ShortMapcopy in interface Float2ShortMapFloatOrderedSet keySet()
keySet in interface Float2ShortMapkeySet in interface java.util.Map<java.lang.Float,java.lang.Short>ObjectOrderedSet<Float2ShortMap.Entry> float2ShortEntrySet()
Float2ShortMapfloat2ShortEntrySet in interface Float2ShortMapdefault Float2ShortOrderedMap synchronize()
synchronize in interface Float2ShortMapFloat2ShortMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2ShortMap)default Float2ShortOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Float2ShortMapmutex - is the controller of the synchronization blockFloat2ShortMaps.synchronize(speiger.src.collections.floats.maps.interfaces.Float2ShortMap)default Float2ShortOrderedMap unmodifiable()
unmodifiable in interface Float2ShortMapFloat2ShortMaps.unmodifiable(speiger.src.collections.floats.maps.interfaces.Float2ShortMap)