V - the type of elements maintained by this Collectionpublic interface Double2ObjectOrderedMap<V> extends Double2ObjectMap<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Double2ObjectOrderedMap.FastOrderedSet<V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
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.
|
default Double2ObjectOrderedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Double2ObjectOrderedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Double2ObjectOrderedMap<V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
builder, 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, sizeapplyV putAndMoveToFirst(double key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(double key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(double key)
key - that should be moved to the first indexboolean moveToLast(double key)
key - that should be moved to the first lastV getAndMoveToFirst(double key)
key - that is searched forV getAndMoveToLast(double key)
key - that is searched fordouble firstDoubleKey()
double pollFirstDoubleKey()
double lastDoubleKey()
double pollLastDoubleKey()
V firstValue()
V lastValue()
Double2ObjectOrderedMap<V> copy()
Double2ObjectMapcopy in interface Double2ObjectMap<V>DoubleOrderedSet keySet()
keySet in interface Double2ObjectMap<V>keySet in interface java.util.Map<java.lang.Double,V>ObjectOrderedSet<Double2ObjectMap.Entry<V>> double2ObjectEntrySet()
Double2ObjectMapdouble2ObjectEntrySet in interface Double2ObjectMap<V>default Double2ObjectOrderedMap<V> synchronize()
synchronize in interface Double2ObjectMap<V>Double2ObjectMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2ObjectMap<V>)default Double2ObjectOrderedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Double2ObjectMap<V>mutex - is the controller of the synchronization blockDouble2ObjectMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2ObjectMap<V>)default Double2ObjectOrderedMap<V> unmodifiable()
unmodifiable in interface Double2ObjectMap<V>Double2ObjectMaps.unmodifiable(speiger.src.collections.doubles.maps.interfaces.Double2ObjectMap<V>)