public static class Long2DoubleMaps.UnmodifyableOrderedMap extends Long2DoubleMaps.UnmodifyableMap implements Long2DoubleOrderedMap
AbstractLong2DoubleMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2DoubleOrderedMap.FastOrderedSetLong2DoubleMap.BuilderCache, Long2DoubleMap.Entry, Long2DoubleMap.FastEntrySet, Long2DoubleMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2DoubleOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
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.
|
LongOrderedSet |
keySet() |
double |
lastDoubleValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
ObjectOrderedSet<Long2DoubleMap.Entry> |
long2DoubleEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
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.
|
addTo, clear, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, get, getOrDefault, mergeAllDouble, mergeDouble, put, putIfAbsent, remove, remove, removeOrDefault, replaceDoubles, replaceDoubles, subFrom, supplyDoubleIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuecontainsKey, containsValue, isEmpty, size, toStringsynchronize, synchronize, unmodifiableaddTo, addToAll, applyAsDouble, builder, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceDoubles, replaceDoubles, setDefaultReturnValue, subFrom, supplyDoubleIfAbsent, valuespublic double putAndMoveToFirst(long key,
double value)
Long2DoubleOrderedMapputAndMoveToFirst in interface Long2DoubleOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public double putAndMoveToLast(long key,
double value)
Long2DoubleOrderedMapputAndMoveToLast in interface Long2DoubleOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2DoubleOrderedMapmoveToFirst in interface Long2DoubleOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2DoubleOrderedMapmoveToLast in interface Long2DoubleOrderedMapkey - that should be moved to the first lastpublic double getAndMoveToFirst(long key)
Long2DoubleOrderedMapgetAndMoveToFirst in interface Long2DoubleOrderedMapkey - that is searched forpublic double getAndMoveToLast(long key)
Long2DoubleOrderedMapgetAndMoveToLast in interface Long2DoubleOrderedMapkey - that is searched forpublic long firstLongKey()
Long2DoubleOrderedMapfirstLongKey in interface Long2DoubleOrderedMappublic long pollFirstLongKey()
Long2DoubleOrderedMappollFirstLongKey in interface Long2DoubleOrderedMappublic long lastLongKey()
Long2DoubleOrderedMaplastLongKey in interface Long2DoubleOrderedMappublic long pollLastLongKey()
Long2DoubleOrderedMappollLastLongKey in interface Long2DoubleOrderedMappublic double firstDoubleValue()
Long2DoubleOrderedMapfirstDoubleValue in interface Long2DoubleOrderedMappublic double lastDoubleValue()
Long2DoubleOrderedMaplastDoubleValue in interface Long2DoubleOrderedMappublic Long2DoubleOrderedMap copy()
Long2DoubleMapcopy in interface Long2DoubleMapcopy in interface Long2DoubleOrderedMapcopy in class Long2DoubleMaps.UnmodifyableMappublic LongOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Long,java.lang.Double>keySet in interface Long2DoubleMapkeySet in interface Long2DoubleOrderedMapkeySet in class Long2DoubleMaps.UnmodifyableMappublic ObjectOrderedSet<Long2DoubleMap.Entry> long2DoubleEntrySet()
Long2DoubleMaplong2DoubleEntrySet in interface Long2DoubleMaplong2DoubleEntrySet in interface Long2DoubleOrderedMaplong2DoubleEntrySet in class Long2DoubleMaps.UnmodifyableMap