public static class Float2ShortMaps.UnmodifyableSortedMap extends Float2ShortMaps.UnmodifyableMap implements Float2ShortSortedMap
AbstractFloat2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Float2ShortSortedMap.FastSortedSetFloat2ShortMap.Entry, Float2ShortMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
FloatComparator |
comparator() |
float |
firstFloatKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
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.
|
Float2ShortSortedMap |
headMap(float toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
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.
|
Float2ShortSortedMap |
subMap(float fromKey,
float toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Float2ShortSortedMap |
tailMap(float fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, float2ShortEntrySet, getOrDefault, getShort, keySet, put, putIfAbsent, remFloat, remFloatOrDefault, remove, valuesaddToAll, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllShort, mergeShort, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceShorts, replaceShorts, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, float2ShortEntrySet, forEach, forEach, get, getDefaultReturnValue, getOrDefault, getOrDefault, getShort, merge, mergeAllShort, mergeShort, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remFloat, remFloatOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValuepublic short putAndMoveToFirst(float key,
short value)
Float2ShortSortedMapputAndMoveToFirst in interface Float2ShortSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(float key,
short value)
Float2ShortSortedMapputAndMoveToLast in interface Float2ShortSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(float key)
Float2ShortSortedMapmoveToFirst in interface Float2ShortSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(float key)
Float2ShortSortedMapmoveToLast in interface Float2ShortSortedMapkey - that should be moved to the first lastpublic short getAndMoveToFirst(float key)
Float2ShortSortedMapgetAndMoveToFirst in interface Float2ShortSortedMapkey - that is searched forpublic short getAndMoveToLast(float key)
Float2ShortSortedMapgetAndMoveToLast in interface Float2ShortSortedMapkey - that is searched forpublic FloatComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Float,java.lang.Short>comparator in interface Float2ShortSortedMappublic Float2ShortSortedMap subMap(float fromKey, float toKey)
Float2ShortSortedMapsubMap in interface Float2ShortSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Float2ShortSortedMap headMap(float toKey)
Float2ShortSortedMapheadMap in interface Float2ShortSortedMaptoKey - where the headMap should endpublic Float2ShortSortedMap tailMap(float fromKey)
Float2ShortSortedMaptailMap in interface Float2ShortSortedMapfromKey - where the TailMap should startpublic float firstFloatKey()
Float2ShortSortedMapfirstFloatKey in interface Float2ShortSortedMappublic float pollFirstFloatKey()
Float2ShortSortedMappollFirstFloatKey in interface Float2ShortSortedMappublic float lastFloatKey()
Float2ShortSortedMaplastFloatKey in interface Float2ShortSortedMappublic float pollLastFloatKey()
Float2ShortSortedMappollLastFloatKey in interface Float2ShortSortedMappublic short firstShortValue()
Float2ShortSortedMapfirstShortValue in interface Float2ShortSortedMappublic short lastShortValue()
Float2ShortSortedMaplastShortValue in interface Float2ShortSortedMap