V - the type of elements maintained by this Collectionpublic static class Double2ObjectMaps.UnmodifyableSortedMap<V> extends Double2ObjectMaps.UnmodifyableMap<V> implements Double2ObjectSortedMap<V>
AbstractDouble2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Double2ObjectSortedMap.FastSortedSet<V>Double2ObjectMap.Entry<V>, Double2ObjectMap.FastEntrySet<V>| Modifier and Type | Method and Description |
|---|---|
DoubleComparator |
comparator() |
double |
firstDoubleKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(double key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(double key)
A Specific get method that allows to move teh given key/value int the last index.
|
Double2ObjectSortedMap<V> |
headMap(double toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
double |
lastDoubleKey()
A method to get the last Key of a Map.
|
V |
lastValue()
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.
|
V |
putAndMoveToFirst(double key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(double key,
V value)
A customized put method that allows you to insert into the last index.
|
Double2ObjectSortedMap<V> |
subMap(double fromKey,
double toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Double2ObjectSortedMap<V> |
tailMap(double fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
double2ObjectEntrySet, getObject, getOrDefault, keySet, put, putIfAbsent, remDouble, remDoubleOrDefault, remove, valuescompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, merge, mergeAll, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceObjects, replaceObjects, setDefaultReturnValueclear, containsKey, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuescompute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, double2ObjectEntrySet, entrySet, forEach, forEach, get, getDefaultReturnValue, getObject, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remDouble, remDoubleOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValueclear, containsValue, equals, hashCode, isEmpty, putAll, sizeapplypublic V putAndMoveToFirst(double key, V value)
Double2ObjectSortedMapputAndMoveToFirst in interface Double2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(double key, V value)
Double2ObjectSortedMapputAndMoveToLast in interface Double2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(double key)
Double2ObjectSortedMapmoveToFirst in interface Double2ObjectSortedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(double key)
Double2ObjectSortedMapmoveToLast in interface Double2ObjectSortedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(double key)
Double2ObjectSortedMapgetAndMoveToFirst in interface Double2ObjectSortedMap<V>key - that is searched forpublic V getAndMoveToLast(double key)
Double2ObjectSortedMapgetAndMoveToLast in interface Double2ObjectSortedMap<V>key - that is searched forpublic DoubleComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Double,V>comparator in interface Double2ObjectSortedMap<V>public Double2ObjectSortedMap<V> subMap(double fromKey, double toKey)
Double2ObjectSortedMapsubMap in interface Double2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Double2ObjectSortedMap<V> headMap(double toKey)
Double2ObjectSortedMapheadMap in interface Double2ObjectSortedMap<V>toKey - where the headMap should endpublic Double2ObjectSortedMap<V> tailMap(double fromKey)
Double2ObjectSortedMaptailMap in interface Double2ObjectSortedMap<V>fromKey - where the TailMap should startpublic double firstDoubleKey()
Double2ObjectSortedMapfirstDoubleKey in interface Double2ObjectSortedMap<V>public double pollFirstDoubleKey()
Double2ObjectSortedMappollFirstDoubleKey in interface Double2ObjectSortedMap<V>public double lastDoubleKey()
Double2ObjectSortedMaplastDoubleKey in interface Double2ObjectSortedMap<V>public double pollLastDoubleKey()
Double2ObjectSortedMappollLastDoubleKey in interface Double2ObjectSortedMap<V>public V firstValue()
Double2ObjectSortedMapfirstValue in interface Double2ObjectSortedMap<V>public V lastValue()
Double2ObjectSortedMaplastValue in interface Double2ObjectSortedMap<V>