public static class Long2FloatMaps.UnmodifyableSortedMap extends Long2FloatMaps.UnmodifyableMap implements Long2FloatSortedMap
AbstractLong2FloatMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2FloatSortedMap.FastSortedSetLong2FloatMap.Entry, Long2FloatMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
float |
firstFloatValue()
A method to get the first Value of a Map.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
float |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
float |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
Long2FloatSortedMap |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
float |
lastFloatValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
float |
putAndMoveToFirst(long key,
float value)
A customized put method that allows you to insert into the first index.
|
float |
putAndMoveToLast(long key,
float value)
A customized put method that allows you to insert into the last index.
|
Long2FloatSortedMap |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2FloatSortedMap |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getFloat, getOrDefault, keySet, long2FloatEntrySet, put, putIfAbsent, remLong, remLongOrDefault, remove, 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, long2FloatEntrySet, merge, mergeAllFloat, mergeFloat, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remLong, remLongOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceFloats, replaceFloats, setDefaultReturnValuepublic float putAndMoveToFirst(long key,
float value)
Long2FloatSortedMapputAndMoveToFirst in interface Long2FloatSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public float putAndMoveToLast(long key,
float value)
Long2FloatSortedMapputAndMoveToLast in interface Long2FloatSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2FloatSortedMapmoveToFirst in interface Long2FloatSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2FloatSortedMapmoveToLast in interface Long2FloatSortedMapkey - that should be moved to the first lastpublic float getAndMoveToFirst(long key)
Long2FloatSortedMapgetAndMoveToFirst in interface Long2FloatSortedMapkey - that is searched forpublic float getAndMoveToLast(long key)
Long2FloatSortedMapgetAndMoveToLast in interface Long2FloatSortedMapkey - that is searched forpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,java.lang.Float>comparator in interface Long2FloatSortedMappublic Long2FloatSortedMap subMap(long fromKey, long toKey)
Long2FloatSortedMapsubMap in interface Long2FloatSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Long2FloatSortedMap headMap(long toKey)
Long2FloatSortedMapheadMap in interface Long2FloatSortedMaptoKey - where the headMap should endpublic Long2FloatSortedMap tailMap(long fromKey)
Long2FloatSortedMaptailMap in interface Long2FloatSortedMapfromKey - where the TailMap should startpublic long firstLongKey()
Long2FloatSortedMapfirstLongKey in interface Long2FloatSortedMappublic long pollFirstLongKey()
Long2FloatSortedMappollFirstLongKey in interface Long2FloatSortedMappublic long lastLongKey()
Long2FloatSortedMaplastLongKey in interface Long2FloatSortedMappublic long pollLastLongKey()
Long2FloatSortedMappollLastLongKey in interface Long2FloatSortedMappublic float firstFloatValue()
Long2FloatSortedMapfirstFloatValue in interface Long2FloatSortedMappublic float lastFloatValue()
Long2FloatSortedMaplastFloatValue in interface Long2FloatSortedMap