public static class Double2IntMaps.UnmodifyableSortedMap extends Double2IntMaps.UnmodifyableMap implements Double2IntSortedMap
AbstractDouble2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Double2IntSortedMap.FastSortedSetDouble2IntMap.Entry, Double2IntMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
DoubleComparator |
comparator() |
double |
firstDoubleKey()
A method to get the first Key of a Map.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
int |
getAndMoveToFirst(double key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(double key)
A Specific get method that allows to move teh given key/value int the last index.
|
Double2IntSortedMap |
headMap(double toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
double |
lastDoubleKey()
A method to get the last Key of a Map.
|
int |
lastIntValue()
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.
|
int |
putAndMoveToFirst(double key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(double key,
int value)
A customized put method that allows you to insert into the last index.
|
Double2IntSortedMap |
subMap(double fromKey,
double toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Double2IntSortedMap |
tailMap(double fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, double2IntEntrySet, getInt, getOrDefault, keySet, put, putIfAbsent, remDouble, remDoubleOrDefault, remove, valuesaddToAll, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllInt, mergeInt, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceInts, replaceInts, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, double2IntEntrySet, entrySet, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remDouble, remDoubleOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValueapplyAsIntpublic int putAndMoveToFirst(double key,
int value)
Double2IntSortedMapputAndMoveToFirst in interface Double2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(double key,
int value)
Double2IntSortedMapputAndMoveToLast in interface Double2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(double key)
Double2IntSortedMapmoveToFirst in interface Double2IntSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(double key)
Double2IntSortedMapmoveToLast in interface Double2IntSortedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(double key)
Double2IntSortedMapgetAndMoveToFirst in interface Double2IntSortedMapkey - that is searched forpublic int getAndMoveToLast(double key)
Double2IntSortedMapgetAndMoveToLast in interface Double2IntSortedMapkey - that is searched forpublic DoubleComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>comparator in interface Double2IntSortedMappublic Double2IntSortedMap subMap(double fromKey, double toKey)
Double2IntSortedMapsubMap in interface Double2IntSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Double2IntSortedMap headMap(double toKey)
Double2IntSortedMapheadMap in interface Double2IntSortedMaptoKey - where the headMap should endpublic Double2IntSortedMap tailMap(double fromKey)
Double2IntSortedMaptailMap in interface Double2IntSortedMapfromKey - where the TailMap should startpublic double firstDoubleKey()
Double2IntSortedMapfirstDoubleKey in interface Double2IntSortedMappublic double pollFirstDoubleKey()
Double2IntSortedMappollFirstDoubleKey in interface Double2IntSortedMappublic double lastDoubleKey()
Double2IntSortedMaplastDoubleKey in interface Double2IntSortedMappublic double pollLastDoubleKey()
Double2IntSortedMappollLastDoubleKey in interface Double2IntSortedMappublic int firstIntValue()
Double2IntSortedMapfirstIntValue in interface Double2IntSortedMappublic int lastIntValue()
Double2IntSortedMaplastIntValue in interface Double2IntSortedMap