public static class Short2FloatMaps.UnmodifyableSortedMap extends Short2FloatMaps.UnmodifyableMap implements Short2FloatSortedMap
AbstractShort2FloatMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2FloatSortedMap.FastSortedSetShort2FloatMap.Entry, Short2FloatMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
float |
firstFloatValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
float |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
float |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
Short2FloatSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
float |
lastFloatValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
float |
putAndMoveToFirst(short key,
float value)
A customized put method that allows you to insert into the first index.
|
float |
putAndMoveToLast(short key,
float value)
A customized put method that allows you to insert into the last index.
|
Short2FloatSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2FloatSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getFloat, getOrDefault, keySet, put, putIfAbsent, remove, remShort, remShortOrDefault, short2FloatEntrySet, valuesaddToAll, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllFloat, mergeFloat, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceFloats, replaceFloats, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeFloat, computeFloatIfAbsent, computeFloatIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getFloat, getOrDefault, getOrDefault, merge, mergeAllFloat, mergeFloat, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceFloats, replaceFloats, setDefaultReturnValue, short2FloatEntrySetpublic float putAndMoveToFirst(short key,
float value)
Short2FloatSortedMapputAndMoveToFirst in interface Short2FloatSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public float putAndMoveToLast(short key,
float value)
Short2FloatSortedMapputAndMoveToLast in interface Short2FloatSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2FloatSortedMapmoveToFirst in interface Short2FloatSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2FloatSortedMapmoveToLast in interface Short2FloatSortedMapkey - that should be moved to the first lastpublic float getAndMoveToFirst(short key)
Short2FloatSortedMapgetAndMoveToFirst in interface Short2FloatSortedMapkey - that is searched forpublic float getAndMoveToLast(short key)
Short2FloatSortedMapgetAndMoveToLast in interface Short2FloatSortedMapkey - that is searched forpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Float>comparator in interface Short2FloatSortedMappublic Short2FloatSortedMap subMap(short fromKey, short toKey)
Short2FloatSortedMapsubMap in interface Short2FloatSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Short2FloatSortedMap headMap(short toKey)
Short2FloatSortedMapheadMap in interface Short2FloatSortedMaptoKey - where the headMap should endpublic Short2FloatSortedMap tailMap(short fromKey)
Short2FloatSortedMaptailMap in interface Short2FloatSortedMapfromKey - where the TailMap should startpublic short firstShortKey()
Short2FloatSortedMapfirstShortKey in interface Short2FloatSortedMappublic short pollFirstShortKey()
Short2FloatSortedMappollFirstShortKey in interface Short2FloatSortedMappublic short lastShortKey()
Short2FloatSortedMaplastShortKey in interface Short2FloatSortedMappublic short pollLastShortKey()
Short2FloatSortedMappollLastShortKey in interface Short2FloatSortedMappublic float firstFloatValue()
Short2FloatSortedMapfirstFloatValue in interface Short2FloatSortedMappublic float lastFloatValue()
Short2FloatSortedMaplastFloatValue in interface Short2FloatSortedMap