public interface Int2DoubleOrderedMap extends Int2DoubleMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2DoubleOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2DoubleMap.BuilderCache, Int2DoubleMap.Entry, Int2DoubleMap.FastEntrySet, Int2DoubleMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2DoubleOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
double |
firstDoubleValue()
A method to get the first Value of a Map.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
double |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
double |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2DoubleMap.Entry> |
int2DoubleEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
IntOrderedSet |
keySet() |
double |
lastDoubleValue()
A method to get the last Value of a Map.
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(int key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(int key)
A specific move method to move a given key/value to the last index.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
double |
putAndMoveToFirst(int key,
double value)
A customized put method that allows you to insert into the first index.
|
double |
putAndMoveToLast(int key,
double value)
A customized put method that allows you to insert into the last index.
|
default Int2DoubleOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2DoubleOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2DoubleOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, builder, compute, computeDouble, computeDoubleIfAbsent, computeDoubleIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllDouble, mergeDouble, 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, valuesapplyAsDoubledouble putAndMoveToFirst(int key,
double value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)double putAndMoveToLast(int key,
double value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(int key)
key - that should be moved to the first indexboolean moveToLast(int key)
key - that should be moved to the first lastdouble getAndMoveToFirst(int key)
key - that is searched fordouble getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
double firstDoubleValue()
double lastDoubleValue()
Int2DoubleOrderedMap copy()
Int2DoubleMapcopy in interface Int2DoubleMapIntOrderedSet keySet()
keySet in interface Int2DoubleMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Double>ObjectOrderedSet<Int2DoubleMap.Entry> int2DoubleEntrySet()
Int2DoubleMapint2DoubleEntrySet in interface Int2DoubleMapdefault Int2DoubleOrderedMap synchronize()
synchronize in interface Int2DoubleMapInt2DoubleMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2DoubleMap)default Int2DoubleOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2DoubleMapmutex - is the controller of the synchronization blockInt2DoubleMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2DoubleMap)default Int2DoubleOrderedMap unmodifiable()
unmodifiable in interface Int2DoubleMapInt2DoubleMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2DoubleMap)