V - the type of elements maintained by this Collectionpublic static class Double2ObjectMaps.SynchronizedOrderedMap<V> extends Double2ObjectMaps.SynchronizedMap<V> implements Double2ObjectOrderedMap<V>
AbstractDouble2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Double2ObjectOrderedMap.FastOrderedSet<V>Double2ObjectMap.BuilderCache<V>, Double2ObjectMap.Entry<V>, Double2ObjectMap.FastEntrySet<V>, Double2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Double2ObjectOrderedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
ObjectOrderedSet<Double2ObjectMap.Entry<V>> |
double2ObjectEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
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.
|
DoubleOrderedSet |
keySet() |
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.
|
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, size, supplyIfAbsent, valuesentrySet, equals, hashCode, putAllsynchronize, synchronize, unmodifiablebuilder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuesclear, containsValue, equals, hashCode, isEmpty, putAll, sizeapplypublic V putAndMoveToFirst(double key, V value)
Double2ObjectOrderedMapputAndMoveToFirst in interface Double2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(double key, V value)
Double2ObjectOrderedMapputAndMoveToLast in interface Double2ObjectOrderedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(double key)
Double2ObjectOrderedMapmoveToFirst in interface Double2ObjectOrderedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(double key)
Double2ObjectOrderedMapmoveToLast in interface Double2ObjectOrderedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(double key)
Double2ObjectOrderedMapgetAndMoveToFirst in interface Double2ObjectOrderedMap<V>key - that is searched forpublic V getAndMoveToLast(double key)
Double2ObjectOrderedMapgetAndMoveToLast in interface Double2ObjectOrderedMap<V>key - that is searched forpublic double firstDoubleKey()
Double2ObjectOrderedMapfirstDoubleKey in interface Double2ObjectOrderedMap<V>public double pollFirstDoubleKey()
Double2ObjectOrderedMappollFirstDoubleKey in interface Double2ObjectOrderedMap<V>public double lastDoubleKey()
Double2ObjectOrderedMaplastDoubleKey in interface Double2ObjectOrderedMap<V>public double pollLastDoubleKey()
Double2ObjectOrderedMappollLastDoubleKey in interface Double2ObjectOrderedMap<V>public V firstValue()
Double2ObjectOrderedMapfirstValue in interface Double2ObjectOrderedMap<V>public V lastValue()
Double2ObjectOrderedMaplastValue in interface Double2ObjectOrderedMap<V>public Double2ObjectOrderedMap<V> copy()
Double2ObjectMapcopy in interface Double2ObjectMap<V>copy in interface Double2ObjectOrderedMap<V>copy in class Double2ObjectMaps.SynchronizedMap<V>public DoubleOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Double,V>keySet in interface Double2ObjectMap<V>keySet in interface Double2ObjectOrderedMap<V>keySet in class Double2ObjectMaps.SynchronizedMap<V>public ObjectOrderedSet<Double2ObjectMap.Entry<V>> double2ObjectEntrySet()
Double2ObjectMapdouble2ObjectEntrySet in interface Double2ObjectMap<V>double2ObjectEntrySet in interface Double2ObjectOrderedMap<V>double2ObjectEntrySet in class Double2ObjectMaps.SynchronizedMap<V>