public interface Double2LongOrderedMap extends Double2LongMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Double2LongOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Double2LongMap.BuilderCache, Double2LongMap.Entry, Double2LongMap.FastEntrySet, Double2LongMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Double2LongOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
ObjectOrderedSet<Double2LongMap.Entry> |
double2LongEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
double |
firstDoubleKey()
A method to get the first Key of a Map.
|
long |
firstLongValue()
A method to get the first Value of a Map.
|
long |
getAndMoveToFirst(double key)
A Specific get method that allows to move teh given key/value int the first index.
|
long |
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.
|
long |
lastLongValue()
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.
|
long |
putAndMoveToFirst(double key,
long value)
A customized put method that allows you to insert into the first index.
|
long |
putAndMoveToLast(double key,
long value)
A customized put method that allows you to insert into the last index.
|
default Double2LongOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Double2LongOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Double2LongOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsLong, builder, compute, computeIfAbsent, computeIfPresent, computeLong, computeLongIfAbsent, computeLongIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllLong, mergeLong, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceLongs, replaceLongs, setDefaultReturnValue, subFrom, supplyLongIfAbsent, valueslong putAndMoveToFirst(double key,
long value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)long putAndMoveToLast(double key,
long 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 lastlong getAndMoveToFirst(double key)
key - that is searched forlong getAndMoveToLast(double key)
key - that is searched fordouble firstDoubleKey()
double pollFirstDoubleKey()
double lastDoubleKey()
double pollLastDoubleKey()
long firstLongValue()
long lastLongValue()
Double2LongOrderedMap copy()
Double2LongMapcopy in interface Double2LongMapDoubleOrderedSet keySet()
keySet in interface Double2LongMapkeySet in interface java.util.Map<java.lang.Double,java.lang.Long>ObjectOrderedSet<Double2LongMap.Entry> double2LongEntrySet()
Double2LongMapdouble2LongEntrySet in interface Double2LongMapdefault Double2LongOrderedMap synchronize()
synchronize in interface Double2LongMapDouble2LongMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2LongMap)default Double2LongOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Double2LongMapmutex - is the controller of the synchronization blockDouble2LongMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2LongMap)default Double2LongOrderedMap unmodifiable()
unmodifiable in interface Double2LongMapDouble2LongMaps.unmodifiable(speiger.src.collections.doubles.maps.interfaces.Double2LongMap)