public interface Double2IntOrderedMap extends Double2IntMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Double2IntOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Double2IntMap.BuilderCache, Double2IntMap.Entry, Double2IntMap.FastEntrySet, Double2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Double2IntOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
ObjectOrderedSet<Double2IntMap.Entry> |
double2IntEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
double |
firstDoubleKey()
A method to get the first Key of a Map.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
int |
getAndMoveToFirst(double key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
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.
|
int |
lastIntValue()
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.
|
int |
putAndMoveToFirst(double key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(double key,
int value)
A customized put method that allows you to insert into the last index.
|
default Double2IntOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Double2IntOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Double2IntOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, subFrom, supplyIntIfAbsent, valuesapplyAsIntint putAndMoveToFirst(double key,
int value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)int putAndMoveToLast(double key,
int 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 lastint getAndMoveToFirst(double key)
key - that is searched forint getAndMoveToLast(double key)
key - that is searched fordouble firstDoubleKey()
double pollFirstDoubleKey()
double lastDoubleKey()
double pollLastDoubleKey()
int firstIntValue()
int lastIntValue()
Double2IntOrderedMap copy()
Double2IntMapcopy in interface Double2IntMapDoubleOrderedSet keySet()
keySet in interface Double2IntMapkeySet in interface java.util.Map<java.lang.Double,java.lang.Integer>ObjectOrderedSet<Double2IntMap.Entry> double2IntEntrySet()
Double2IntMapdouble2IntEntrySet in interface Double2IntMapdefault Double2IntOrderedMap synchronize()
synchronize in interface Double2IntMapDouble2IntMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2IntMap)default Double2IntOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Double2IntMapmutex - is the controller of the synchronization blockDouble2IntMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2IntMap)default Double2IntOrderedMap unmodifiable()
unmodifiable in interface Double2IntMapDouble2IntMaps.unmodifiable(speiger.src.collections.doubles.maps.interfaces.Double2IntMap)