public static class Double2ShortMaps.UnmodifyableOrderedMap extends Double2ShortMaps.UnmodifyableMap implements Double2ShortOrderedMap
AbstractDouble2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Double2ShortOrderedMap.FastOrderedSetDouble2ShortMap.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.
|
addTo, clear, computeShort, computeShortIfAbsent, computeShortIfPresent, get, getOrDefault, mergeAllShort, mergeShort, put, putIfAbsent, remove, remove, removeOrDefault, replaceShorts, replaceShorts, subFrom, supplyShortIfAbsent, valuesaddToAll, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, put, putAll, putAll, putAll, putAll, putAllIfAbsent, remove, replace, replace, setDefaultReturnValuecontainsKey, containsValue, isEmpty, size, toStringsynchronize, synchronize, unmodifiableaddTo, 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, valuespublic short putAndMoveToFirst(double key,
short value)
Double2ShortOrderedMapputAndMoveToFirst in interface Double2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(double key,
short value)
Double2ShortOrderedMapputAndMoveToLast in interface Double2ShortOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(double key)
Double2ShortOrderedMapmoveToFirst in interface Double2ShortOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(double key)
Double2ShortOrderedMapmoveToLast in interface Double2ShortOrderedMapkey - that should be moved to the first lastpublic short getAndMoveToFirst(double key)
Double2ShortOrderedMapgetAndMoveToFirst in interface Double2ShortOrderedMapkey - that is searched forpublic short getAndMoveToLast(double key)
Double2ShortOrderedMapgetAndMoveToLast in interface Double2ShortOrderedMapkey - that is searched forpublic double firstDoubleKey()
Double2ShortOrderedMapfirstDoubleKey in interface Double2ShortOrderedMappublic double pollFirstDoubleKey()
Double2ShortOrderedMappollFirstDoubleKey in interface Double2ShortOrderedMappublic double lastDoubleKey()
Double2ShortOrderedMaplastDoubleKey in interface Double2ShortOrderedMappublic double pollLastDoubleKey()
Double2ShortOrderedMappollLastDoubleKey in interface Double2ShortOrderedMappublic short firstShortValue()
Double2ShortOrderedMapfirstShortValue in interface Double2ShortOrderedMappublic short lastShortValue()
Double2ShortOrderedMaplastShortValue in interface Double2ShortOrderedMappublic Double2ShortOrderedMap copy()
Double2ShortMapcopy in interface Double2ShortMapcopy in interface Double2ShortOrderedMapcopy in class Double2ShortMaps.UnmodifyableMappublic DoubleOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Double,java.lang.Short>keySet in interface Double2ShortMapkeySet in interface Double2ShortOrderedMapkeySet in class Double2ShortMaps.UnmodifyableMappublic ObjectOrderedSet<Double2ShortMap.Entry> double2ShortEntrySet()
Double2ShortMapdouble2ShortEntrySet in interface Double2ShortMapdouble2ShortEntrySet in interface Double2ShortOrderedMapdouble2ShortEntrySet in class Double2ShortMaps.UnmodifyableMap