public interface Long2DoubleOrderedMap extends Long2DoubleMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Long2DoubleOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Long2DoubleMap.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.
|
default Long2DoubleOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Long2DoubleOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Long2DoubleOrderedMap |
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(long key,
double value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)double putAndMoveToLast(long key,
double value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(long key)
key - that should be moved to the first indexboolean moveToLast(long key)
key - that should be moved to the first lastdouble getAndMoveToFirst(long key)
key - that is searched fordouble getAndMoveToLast(long key)
key - that is searched forlong firstLongKey()
long pollFirstLongKey()
long lastLongKey()
long pollLastLongKey()
double firstDoubleValue()
double lastDoubleValue()
Long2DoubleOrderedMap copy()
Long2DoubleMapcopy in interface Long2DoubleMapLongOrderedSet keySet()
keySet in interface Long2DoubleMapkeySet in interface java.util.Map<java.lang.Long,java.lang.Double>ObjectOrderedSet<Long2DoubleMap.Entry> long2DoubleEntrySet()
Long2DoubleMaplong2DoubleEntrySet in interface Long2DoubleMapdefault Long2DoubleOrderedMap synchronize()
synchronize in interface Long2DoubleMapLong2DoubleMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2DoubleMap)default Long2DoubleOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Long2DoubleMapmutex - is the controller of the synchronization blockLong2DoubleMaps.synchronize(speiger.src.collections.longs.maps.interfaces.Long2DoubleMap)default Long2DoubleOrderedMap unmodifiable()
unmodifiable in interface Long2DoubleMapLong2DoubleMaps.unmodifiable(speiger.src.collections.longs.maps.interfaces.Long2DoubleMap)