public static class Double2ShortMaps.UnmodifyableSortedMap extends Double2ShortMaps.UnmodifyableMap implements Double2ShortSortedMap
AbstractDouble2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Double2ShortSortedMap.FastSortedSetDouble2ShortMap.Entry, Double2ShortMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
DoubleComparator |
comparator() |
double |
firstDoubleKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(double key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
getAndMoveToLast(double key)
A Specific get method that allows to move teh given key/value int the last index.
|
Double2ShortSortedMap |
headMap(double toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
double |
lastDoubleKey()
A method to get the last Key of a Map.
|
short |
lastShortValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(double key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(double key)
A specific move method to move a given key/value to the last index.
|
double |
pollFirstDoubleKey()
A method to get and remove the first Key of a Map.
|
double |
pollLastDoubleKey()
A method to get and remove the last Key of a Map.
|
short |
putAndMoveToFirst(double key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(double key,
short value)
A customized put method that allows you to insert into the last index.
|
Double2ShortSortedMap |
subMap(double fromKey,
double toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Double2ShortSortedMap |
tailMap(double fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, double2ShortEntrySet, getOrDefault, getShort, keySet, put, putIfAbsent, remDouble, remDoubleOrDefault, 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, double2ShortEntrySet, entrySet, forEach, forEach, get, getDefaultReturnValue, getOrDefault, getOrDefault, getShort, merge, mergeAllShort, mergeShort, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remDouble, remDoubleOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValuepublic short putAndMoveToFirst(double key,
short value)
Double2ShortSortedMapputAndMoveToFirst in interface Double2ShortSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(double key,
short value)
Double2ShortSortedMapputAndMoveToLast in interface Double2ShortSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(double key)
Double2ShortSortedMapmoveToFirst in interface Double2ShortSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(double key)
Double2ShortSortedMapmoveToLast in interface Double2ShortSortedMapkey - that should be moved to the first lastpublic short getAndMoveToFirst(double key)
Double2ShortSortedMapgetAndMoveToFirst in interface Double2ShortSortedMapkey - that is searched forpublic short getAndMoveToLast(double key)
Double2ShortSortedMapgetAndMoveToLast in interface Double2ShortSortedMapkey - that is searched forpublic DoubleComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Double,java.lang.Short>comparator in interface Double2ShortSortedMappublic Double2ShortSortedMap subMap(double fromKey, double toKey)
Double2ShortSortedMapsubMap in interface Double2ShortSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Double2ShortSortedMap headMap(double toKey)
Double2ShortSortedMapheadMap in interface Double2ShortSortedMaptoKey - where the headMap should endpublic Double2ShortSortedMap tailMap(double fromKey)
Double2ShortSortedMaptailMap in interface Double2ShortSortedMapfromKey - where the TailMap should startpublic double firstDoubleKey()
Double2ShortSortedMapfirstDoubleKey in interface Double2ShortSortedMappublic double pollFirstDoubleKey()
Double2ShortSortedMappollFirstDoubleKey in interface Double2ShortSortedMappublic double lastDoubleKey()
Double2ShortSortedMaplastDoubleKey in interface Double2ShortSortedMappublic double pollLastDoubleKey()
Double2ShortSortedMappollLastDoubleKey in interface Double2ShortSortedMappublic short firstShortValue()
Double2ShortSortedMapfirstShortValue in interface Double2ShortSortedMappublic short lastShortValue()
Double2ShortSortedMaplastShortValue in interface Double2ShortSortedMap