V - the type of elements maintained by this Collectionpublic static class Float2ObjectMaps.UnmodifyableSortedMap<V> extends Float2ObjectMaps.UnmodifyableMap<V> implements Float2ObjectSortedMap<V>
AbstractFloat2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Float2ObjectSortedMap.FastSortedSet<V>Float2ObjectMap.Entry<V>, Float2ObjectMap.FastEntrySet<V>| Modifier and Type | Method and Description |
|---|---|
FloatComparator |
comparator() |
float |
firstFloatKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
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.
|
Float2ObjectSortedMap<V> |
headMap(float toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
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.
|
Float2ObjectSortedMap<V> |
subMap(float fromKey,
float toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Float2ObjectSortedMap<V> |
tailMap(float fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
float2ObjectEntrySet, getObject, getOrDefault, keySet, put, putIfAbsent, remFloat, remFloatOrDefault, remove, valuescompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, merge, mergeAll, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceObjects, replaceObjects, setDefaultReturnValueclear, containsKey, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuescompute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, float2ObjectEntrySet, forEach, forEach, get, getDefaultReturnValue, getObject, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remFloat, remFloatOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValuepublic V putAndMoveToFirst(float key, V value)
Float2ObjectSortedMapputAndMoveToFirst in interface Float2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(float key, V value)
Float2ObjectSortedMapputAndMoveToLast in interface Float2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(float key)
Float2ObjectSortedMapmoveToFirst in interface Float2ObjectSortedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(float key)
Float2ObjectSortedMapmoveToLast in interface Float2ObjectSortedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(float key)
Float2ObjectSortedMapgetAndMoveToFirst in interface Float2ObjectSortedMap<V>key - that is searched forpublic V getAndMoveToLast(float key)
Float2ObjectSortedMapgetAndMoveToLast in interface Float2ObjectSortedMap<V>key - that is searched forpublic FloatComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Float,V>comparator in interface Float2ObjectSortedMap<V>public Float2ObjectSortedMap<V> subMap(float fromKey, float toKey)
Float2ObjectSortedMapsubMap in interface Float2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Float2ObjectSortedMap<V> headMap(float toKey)
Float2ObjectSortedMapheadMap in interface Float2ObjectSortedMap<V>toKey - where the headMap should endpublic Float2ObjectSortedMap<V> tailMap(float fromKey)
Float2ObjectSortedMaptailMap in interface Float2ObjectSortedMap<V>fromKey - where the TailMap should startpublic float firstFloatKey()
Float2ObjectSortedMapfirstFloatKey in interface Float2ObjectSortedMap<V>public float pollFirstFloatKey()
Float2ObjectSortedMappollFirstFloatKey in interface Float2ObjectSortedMap<V>public float lastFloatKey()
Float2ObjectSortedMaplastFloatKey in interface Float2ObjectSortedMap<V>public float pollLastFloatKey()
Float2ObjectSortedMappollLastFloatKey in interface Float2ObjectSortedMap<V>public V firstValue()
Float2ObjectSortedMapfirstValue in interface Float2ObjectSortedMap<V>public V lastValue()
Float2ObjectSortedMaplastValue in interface Float2ObjectSortedMap<V>