public static class Long2DoubleMaps.SynchronizedSortedMap extends Long2DoubleMaps.SynchronizedMap implements Long2DoubleSortedMap
AbstractLong2DoubleMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2DoubleSortedMap.FastSortedSetLong2DoubleMap.Entry, Long2DoubleMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
LongComparator |
comparator() |
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
java.lang.Long |
firstKey()
Deprecated.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
double |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
double |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
Long2DoubleSortedMap |
headMap(long toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
Long2DoubleSortedMap |
headMap(java.lang.Long toKey)
Deprecated.
|
double |
lastDoubleValue()
A method to get the last Value of a Map.
|
java.lang.Long |
lastKey()
Deprecated.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
double |
putAndMoveToFirst(long key,
double value)
A customized put method that allows you to insert into the first index.
|
double |
putAndMoveToLast(long key,
double value)
A customized put method that allows you to insert into the last index.
|
Long2DoubleSortedMap |
subMap(long fromKey,
long toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Long2DoubleSortedMap |
subMap(java.lang.Long fromKey,
java.lang.Long toKey)
Deprecated.
|
Long2DoubleSortedMap |
tailMap(long fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
Long2DoubleSortedMap |
tailMap(java.lang.Long fromKey)
Deprecated.
|
addTo, addToAll, clear, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, getDefaultReturnValue, getDouble, getOrDefault, getOrDefault, keySet, long2DoubleEntrySet, merge, mergeAllDouble, mergeDouble, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remLong, remLongOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValue, size, valuesentrySet, equals, hashCodekeySet, valuesaddTo, addToAll, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getDouble, getOrDefault, getOrDefault, long2DoubleEntrySet, merge, mergeAllDouble, mergeDouble, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remLong, remLongOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValueapplyAsDoublepublic double putAndMoveToFirst(long key,
double value)
Long2DoubleSortedMapputAndMoveToFirst in interface Long2DoubleSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public double putAndMoveToLast(long key,
double value)
Long2DoubleSortedMapputAndMoveToLast in interface Long2DoubleSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2DoubleSortedMapmoveToFirst in interface Long2DoubleSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2DoubleSortedMapmoveToLast in interface Long2DoubleSortedMapkey - that should be moved to the first lastpublic double getAndMoveToFirst(long key)
Long2DoubleSortedMapgetAndMoveToFirst in interface Long2DoubleSortedMapkey - that is searched forpublic double getAndMoveToLast(long key)
Long2DoubleSortedMapgetAndMoveToLast in interface Long2DoubleSortedMapkey - that is searched forpublic LongComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Long,java.lang.Double>comparator in interface Long2DoubleSortedMappublic Long2DoubleSortedMap subMap(long fromKey, long toKey)
Long2DoubleSortedMapsubMap in interface Long2DoubleSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Long2DoubleSortedMap headMap(long toKey)
Long2DoubleSortedMapheadMap in interface Long2DoubleSortedMaptoKey - where the headMap should endpublic Long2DoubleSortedMap tailMap(long fromKey)
Long2DoubleSortedMaptailMap in interface Long2DoubleSortedMapfromKey - where the TailMap should startpublic long firstLongKey()
Long2DoubleSortedMapfirstLongKey in interface Long2DoubleSortedMappublic long pollFirstLongKey()
Long2DoubleSortedMappollFirstLongKey in interface Long2DoubleSortedMappublic long lastLongKey()
Long2DoubleSortedMaplastLongKey in interface Long2DoubleSortedMappublic long pollLastLongKey()
Long2DoubleSortedMappollLastLongKey in interface Long2DoubleSortedMappublic double firstDoubleValue()
Long2DoubleSortedMapfirstDoubleValue in interface Long2DoubleSortedMappublic double lastDoubleValue()
Long2DoubleSortedMaplastDoubleValue in interface Long2DoubleSortedMap@Deprecated public java.lang.Long firstKey()
firstKey in interface java.util.SortedMap<java.lang.Long,java.lang.Double>firstKey in interface Long2DoubleSortedMap@Deprecated public java.lang.Long lastKey()
lastKey in interface java.util.SortedMap<java.lang.Long,java.lang.Double>lastKey in interface Long2DoubleSortedMap@Deprecated public Long2DoubleSortedMap subMap(java.lang.Long fromKey, java.lang.Long toKey)
subMap in interface java.util.SortedMap<java.lang.Long,java.lang.Double>subMap in interface Long2DoubleSortedMap@Deprecated public Long2DoubleSortedMap headMap(java.lang.Long toKey)
headMap in interface java.util.SortedMap<java.lang.Long,java.lang.Double>headMap in interface Long2DoubleSortedMap@Deprecated public Long2DoubleSortedMap tailMap(java.lang.Long fromKey)
tailMap in interface java.util.SortedMap<java.lang.Long,java.lang.Double>tailMap in interface Long2DoubleSortedMap