public static class Int2IntMaps.UnmodifyableOrderedMap extends Int2IntMaps.UnmodifyableMap implements Int2IntOrderedMap
AbstractInt2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Int2IntOrderedMap.FastOrderedSetInt2IntMap.BuilderCache, Int2IntMap.Entry, Int2IntMap.FastEntrySet, Int2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2IntOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
int |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2IntMap.Entry> |
int2IntEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
IntOrderedSet |
keySet() |
int |
lastIntKey()
A method to get the last Key of a Map.
|
int |
lastIntValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(int key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(int key)
A specific move method to move a given key/value to the last index.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
int |
putAndMoveToFirst(int key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(int 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, builder, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, 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, valuesapplyAsIntpublic int putAndMoveToFirst(int key,
int value)
Int2IntOrderedMapputAndMoveToFirst in interface Int2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(int key,
int value)
Int2IntOrderedMapputAndMoveToLast in interface Int2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(int key)
Int2IntOrderedMapmoveToFirst in interface Int2IntOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(int key)
Int2IntOrderedMapmoveToLast in interface Int2IntOrderedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(int key)
Int2IntOrderedMapgetAndMoveToFirst in interface Int2IntOrderedMapkey - that is searched forpublic int getAndMoveToLast(int key)
Int2IntOrderedMapgetAndMoveToLast in interface Int2IntOrderedMapkey - that is searched forpublic int firstIntKey()
Int2IntOrderedMapfirstIntKey in interface Int2IntOrderedMappublic int pollFirstIntKey()
Int2IntOrderedMappollFirstIntKey in interface Int2IntOrderedMappublic int lastIntKey()
Int2IntOrderedMaplastIntKey in interface Int2IntOrderedMappublic int pollLastIntKey()
Int2IntOrderedMappollLastIntKey in interface Int2IntOrderedMappublic int firstIntValue()
Int2IntOrderedMapfirstIntValue in interface Int2IntOrderedMappublic int lastIntValue()
Int2IntOrderedMaplastIntValue in interface Int2IntOrderedMappublic Int2IntOrderedMap copy()
Int2IntMapcopy in interface Int2IntMapcopy in interface Int2IntOrderedMapcopy in class Int2IntMaps.UnmodifyableMappublic IntOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Integer,java.lang.Integer>keySet in interface Int2IntMapkeySet in interface Int2IntOrderedMapkeySet in class Int2IntMaps.UnmodifyableMappublic ObjectOrderedSet<Int2IntMap.Entry> int2IntEntrySet()
Int2IntMapint2IntEntrySet in interface Int2IntMapint2IntEntrySet in interface Int2IntOrderedMapint2IntEntrySet in class Int2IntMaps.UnmodifyableMap