T - the type of elements maintained by this Collectionpublic static class Object2DoubleMaps.UnmodifyableSortedMap<T> extends Object2DoubleMaps.UnmodifyableMap<T> implements Object2DoubleSortedMap<T>
AbstractObject2DoubleMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2DoubleSortedMap.FastSortedSet<T>Object2DoubleMap.Entry<T>, Object2DoubleMap.FastEntrySet<T>| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<T> |
comparator() |
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
T |
firstKey() |
double |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
double |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
Object2DoubleSortedMap<T> |
headMap(T toKey) |
double |
lastDoubleValue()
A method to get the last Value of a Map.
|
T |
lastKey() |
boolean |
moveToFirst(T key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(T key)
A specific move method to move a given key/value to the last index.
|
T |
pollFirstKey()
A method to get and remove the first Key of a Map.
|
T |
pollLastKey()
A method to get and remove the last Key of a Map.
|
double |
putAndMoveToFirst(T key,
double value)
A customized put method that allows you to insert into the first index.
|
double |
putAndMoveToLast(T key,
double value)
A customized put method that allows you to insert into the last index.
|
Object2DoubleSortedMap<T> |
subMap(T fromKey,
T toKey) |
Object2DoubleSortedMap<T> |
tailMap(T fromKey) |
addTo, getDouble, getOrDefault, keySet, object2DoubleEntrySet, put, putIfAbsent, rem, remOrDefault, remove, valuesaddToAll, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllDouble, mergeDouble, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceDoubles, replaceDoubles, setDefaultReturnValueclear, containsValue, isEmpty, put, remove, size, toStringkeySet, valuesaddTo, addToAll, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getDouble, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, object2DoubleEntrySet, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValueclear, containsKey, equals, hashCode, isEmpty, putAll, sizeapplyAsDoublepublic double putAndMoveToFirst(T key, double value)
Object2DoubleSortedMapputAndMoveToFirst in interface Object2DoubleSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public double putAndMoveToLast(T key, double value)
Object2DoubleSortedMapputAndMoveToLast in interface Object2DoubleSortedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2DoubleSortedMapmoveToFirst in interface Object2DoubleSortedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2DoubleSortedMapmoveToLast in interface Object2DoubleSortedMap<T>key - that should be moved to the first lastpublic double getAndMoveToFirst(T key)
Object2DoubleSortedMapgetAndMoveToFirst in interface Object2DoubleSortedMap<T>key - that is searched forpublic double getAndMoveToLast(T key)
Object2DoubleSortedMapgetAndMoveToLast in interface Object2DoubleSortedMap<T>key - that is searched forpublic java.util.Comparator<T> comparator()
comparator in interface java.util.SortedMap<T,java.lang.Double>comparator in interface Object2DoubleSortedMap<T>public Object2DoubleSortedMap<T> subMap(T fromKey, T toKey)
subMap in interface java.util.SortedMap<T,java.lang.Double>subMap in interface Object2DoubleSortedMap<T>public Object2DoubleSortedMap<T> headMap(T toKey)
headMap in interface java.util.SortedMap<T,java.lang.Double>headMap in interface Object2DoubleSortedMap<T>public Object2DoubleSortedMap<T> tailMap(T fromKey)
tailMap in interface java.util.SortedMap<T,java.lang.Double>tailMap in interface Object2DoubleSortedMap<T>public T firstKey()
firstKey in interface java.util.SortedMap<T,java.lang.Double>public T pollFirstKey()
Object2DoubleSortedMappollFirstKey in interface Object2DoubleSortedMap<T>public T lastKey()
lastKey in interface java.util.SortedMap<T,java.lang.Double>public T pollLastKey()
Object2DoubleSortedMappollLastKey in interface Object2DoubleSortedMap<T>public double firstDoubleValue()
Object2DoubleSortedMapfirstDoubleValue in interface Object2DoubleSortedMap<T>public double lastDoubleValue()
Object2DoubleSortedMaplastDoubleValue in interface Object2DoubleSortedMap<T>