public static class Double2IntMaps.UnmodifyableOrderedMap extends Double2IntMaps.UnmodifyableMap implements Double2IntOrderedMap
AbstractDouble2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Double2IntOrderedMap.FastOrderedSetDouble2IntMap.BuilderCache, Double2IntMap.Entry, Double2IntMap.FastEntrySet, Double2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Double2IntOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
ObjectOrderedSet<Double2IntMap.Entry> |
double2IntEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
double |
firstDoubleKey()
A method to get the first Key of a Map.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
int |
getAndMoveToFirst(double key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
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.
|
int |
lastIntValue()
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.
|
int |
putAndMoveToFirst(double key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(double key,
int value)
A customized put method that allows you to insert into the last index.
|
addTo, clear, computeInt, computeIntIfAbsent, computeIntIfPresent, get, getOrDefault, mergeAllInt, mergeInt, put, putIfAbsent, remove, remove, removeOrDefault, replaceInts, replaceInts, subFrom, supplyIntIfAbsent, 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, applyAsInt, builder, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, subFrom, supplyIntIfAbsent, valuespublic int putAndMoveToFirst(double key,
int value)
Double2IntOrderedMapputAndMoveToFirst in interface Double2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(double key,
int value)
Double2IntOrderedMapputAndMoveToLast in interface Double2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(double key)
Double2IntOrderedMapmoveToFirst in interface Double2IntOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(double key)
Double2IntOrderedMapmoveToLast in interface Double2IntOrderedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(double key)
Double2IntOrderedMapgetAndMoveToFirst in interface Double2IntOrderedMapkey - that is searched forpublic int getAndMoveToLast(double key)
Double2IntOrderedMapgetAndMoveToLast in interface Double2IntOrderedMapkey - that is searched forpublic double firstDoubleKey()
Double2IntOrderedMapfirstDoubleKey in interface Double2IntOrderedMappublic double pollFirstDoubleKey()
Double2IntOrderedMappollFirstDoubleKey in interface Double2IntOrderedMappublic double lastDoubleKey()
Double2IntOrderedMaplastDoubleKey in interface Double2IntOrderedMappublic double pollLastDoubleKey()
Double2IntOrderedMappollLastDoubleKey in interface Double2IntOrderedMappublic int firstIntValue()
Double2IntOrderedMapfirstIntValue in interface Double2IntOrderedMappublic int lastIntValue()
Double2IntOrderedMaplastIntValue in interface Double2IntOrderedMappublic Double2IntOrderedMap copy()
Double2IntMapcopy in interface Double2IntMapcopy in interface Double2IntOrderedMapcopy in class Double2IntMaps.UnmodifyableMappublic DoubleOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Double,java.lang.Integer>keySet in interface Double2IntMapkeySet in interface Double2IntOrderedMapkeySet in class Double2IntMaps.UnmodifyableMappublic ObjectOrderedSet<Double2IntMap.Entry> double2IntEntrySet()
Double2IntMapdouble2IntEntrySet in interface Double2IntMapdouble2IntEntrySet in interface Double2IntOrderedMapdouble2IntEntrySet in class Double2IntMaps.UnmodifyableMap