public static class Short2IntMaps.UnmodifyableOrderedMap extends Short2IntMaps.UnmodifyableMap implements Short2IntOrderedMap
AbstractShort2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2IntOrderedMap.FastOrderedSetShort2IntMap.BuilderCache, Short2IntMap.Entry, Short2IntMap.FastEntrySet, Short2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2IntOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
int |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
int |
lastIntValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
int |
putAndMoveToFirst(short key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(short key,
int value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2IntMap.Entry> |
short2IntEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
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(short key,
int value)
Short2IntOrderedMapputAndMoveToFirst in interface Short2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(short key,
int value)
Short2IntOrderedMapputAndMoveToLast in interface Short2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2IntOrderedMapmoveToFirst in interface Short2IntOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2IntOrderedMapmoveToLast in interface Short2IntOrderedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(short key)
Short2IntOrderedMapgetAndMoveToFirst in interface Short2IntOrderedMapkey - that is searched forpublic int getAndMoveToLast(short key)
Short2IntOrderedMapgetAndMoveToLast in interface Short2IntOrderedMapkey - that is searched forpublic short firstShortKey()
Short2IntOrderedMapfirstShortKey in interface Short2IntOrderedMappublic short pollFirstShortKey()
Short2IntOrderedMappollFirstShortKey in interface Short2IntOrderedMappublic short lastShortKey()
Short2IntOrderedMaplastShortKey in interface Short2IntOrderedMappublic short pollLastShortKey()
Short2IntOrderedMappollLastShortKey in interface Short2IntOrderedMappublic int firstIntValue()
Short2IntOrderedMapfirstIntValue in interface Short2IntOrderedMappublic int lastIntValue()
Short2IntOrderedMaplastIntValue in interface Short2IntOrderedMappublic Short2IntOrderedMap copy()
Short2IntMapcopy in interface Short2IntMapcopy in interface Short2IntOrderedMapcopy in class Short2IntMaps.UnmodifyableMappublic ShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Integer>keySet in interface Short2IntMapkeySet in interface Short2IntOrderedMapkeySet in class Short2IntMaps.UnmodifyableMappublic ObjectOrderedSet<Short2IntMap.Entry> short2IntEntrySet()
Short2IntMapshort2IntEntrySet in interface Short2IntMapshort2IntEntrySet in interface Short2IntOrderedMapshort2IntEntrySet in class Short2IntMaps.UnmodifyableMap