public interface Double2ShortOrderedMap extends Double2ShortMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Double2ShortOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Double2ShortMap.BuilderCache, Double2ShortMap.Entry, Double2ShortMap.FastEntrySet, Double2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Double2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
ObjectOrderedSet<Double2ShortMap.Entry> |
double2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
double |
firstDoubleKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(double key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
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.
|
short |
lastShortValue()
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.
|
short |
putAndMoveToFirst(double key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(double key,
short value)
A customized put method that allows you to insert into the last index.
|
default Double2ShortOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Double2ShortOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Double2ShortOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsShort, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, valuesshort putAndMoveToFirst(double key,
short value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)short putAndMoveToLast(double key,
short 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 lastshort getAndMoveToFirst(double key)
key - that is searched forshort getAndMoveToLast(double key)
key - that is searched fordouble firstDoubleKey()
double pollFirstDoubleKey()
double lastDoubleKey()
double pollLastDoubleKey()
short firstShortValue()
short lastShortValue()
Double2ShortOrderedMap copy()
Double2ShortMapcopy in interface Double2ShortMapDoubleOrderedSet keySet()
keySet in interface Double2ShortMapkeySet in interface java.util.Map<java.lang.Double,java.lang.Short>ObjectOrderedSet<Double2ShortMap.Entry> double2ShortEntrySet()
Double2ShortMapdouble2ShortEntrySet in interface Double2ShortMapdefault Double2ShortOrderedMap synchronize()
synchronize in interface Double2ShortMapDouble2ShortMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2ShortMap)default Double2ShortOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Double2ShortMapmutex - is the controller of the synchronization blockDouble2ShortMaps.synchronize(speiger.src.collections.doubles.maps.interfaces.Double2ShortMap)default Double2ShortOrderedMap unmodifiable()
unmodifiable in interface Double2ShortMapDouble2ShortMaps.unmodifiable(speiger.src.collections.doubles.maps.interfaces.Double2ShortMap)