public static class Short2DoubleMaps.UnmodifyableSortedMap extends Short2DoubleMaps.UnmodifyableMap implements Short2DoubleSortedMap
AbstractShort2DoubleMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2DoubleSortedMap.FastSortedSetShort2DoubleMap.Entry, Short2DoubleMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
double |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
double |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
Short2DoubleSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
double |
lastDoubleValue()
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.
|
double |
putAndMoveToFirst(short key,
double value)
A customized put method that allows you to insert into the first index.
|
double |
putAndMoveToLast(short key,
double value)
A customized put method that allows you to insert into the last index.
|
Short2DoubleSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2DoubleSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getDouble, getOrDefault, keySet, put, putIfAbsent, remove, remShort, remShortOrDefault, short2DoubleEntrySet, valuesaddToAll, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllDouble, mergeDouble, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceDoubles, replaceDoubles, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getDouble, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValue, short2DoubleEntrySetpublic double putAndMoveToFirst(short key,
double value)
Short2DoubleSortedMapputAndMoveToFirst in interface Short2DoubleSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public double putAndMoveToLast(short key,
double value)
Short2DoubleSortedMapputAndMoveToLast in interface Short2DoubleSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2DoubleSortedMapmoveToFirst in interface Short2DoubleSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2DoubleSortedMapmoveToLast in interface Short2DoubleSortedMapkey - that should be moved to the first lastpublic double getAndMoveToFirst(short key)
Short2DoubleSortedMapgetAndMoveToFirst in interface Short2DoubleSortedMapkey - that is searched forpublic double getAndMoveToLast(short key)
Short2DoubleSortedMapgetAndMoveToLast in interface Short2DoubleSortedMapkey - that is searched forpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Double>comparator in interface Short2DoubleSortedMappublic Short2DoubleSortedMap subMap(short fromKey, short toKey)
Short2DoubleSortedMapsubMap in interface Short2DoubleSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Short2DoubleSortedMap headMap(short toKey)
Short2DoubleSortedMapheadMap in interface Short2DoubleSortedMaptoKey - where the headMap should endpublic Short2DoubleSortedMap tailMap(short fromKey)
Short2DoubleSortedMaptailMap in interface Short2DoubleSortedMapfromKey - where the TailMap should startpublic short firstShortKey()
Short2DoubleSortedMapfirstShortKey in interface Short2DoubleSortedMappublic short pollFirstShortKey()
Short2DoubleSortedMappollFirstShortKey in interface Short2DoubleSortedMappublic short lastShortKey()
Short2DoubleSortedMaplastShortKey in interface Short2DoubleSortedMappublic short pollLastShortKey()
Short2DoubleSortedMappollLastShortKey in interface Short2DoubleSortedMappublic double firstDoubleValue()
Short2DoubleSortedMapfirstDoubleValue in interface Short2DoubleSortedMappublic double lastDoubleValue()
Short2DoubleSortedMaplastDoubleValue in interface Short2DoubleSortedMap