public static class Long2IntMaps.UnmodifyableOrderedMap extends Long2IntMaps.UnmodifyableMap implements Long2IntOrderedMap
AbstractLong2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Long2IntOrderedMap.FastOrderedSetLong2IntMap.BuilderCache, Long2IntMap.Entry, Long2IntMap.FastEntrySet, Long2IntMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Long2IntOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntValue()
A method to get the first Value of a Map.
|
long |
firstLongKey()
A method to get the first Key of a Map.
|
int |
getAndMoveToFirst(long key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(long key)
A Specific get method that allows to move teh given key/value int the last index.
|
LongOrderedSet |
keySet() |
int |
lastIntValue()
A method to get the last Value of a Map.
|
long |
lastLongKey()
A method to get the last Key of a Map.
|
ObjectOrderedSet<Long2IntMap.Entry> |
long2IntEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
boolean |
moveToFirst(long key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(long key)
A specific move method to move a given key/value to the last index.
|
long |
pollFirstLongKey()
A method to get and remove the first Key of a Map.
|
long |
pollLastLongKey()
A method to get and remove the last Key of a Map.
|
int |
putAndMoveToFirst(long key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(long 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(long key,
int value)
Long2IntOrderedMapputAndMoveToFirst in interface Long2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(long key,
int value)
Long2IntOrderedMapputAndMoveToLast in interface Long2IntOrderedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(long key)
Long2IntOrderedMapmoveToFirst in interface Long2IntOrderedMapkey - that should be moved to the first indexpublic boolean moveToLast(long key)
Long2IntOrderedMapmoveToLast in interface Long2IntOrderedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(long key)
Long2IntOrderedMapgetAndMoveToFirst in interface Long2IntOrderedMapkey - that is searched forpublic int getAndMoveToLast(long key)
Long2IntOrderedMapgetAndMoveToLast in interface Long2IntOrderedMapkey - that is searched forpublic long firstLongKey()
Long2IntOrderedMapfirstLongKey in interface Long2IntOrderedMappublic long pollFirstLongKey()
Long2IntOrderedMappollFirstLongKey in interface Long2IntOrderedMappublic long lastLongKey()
Long2IntOrderedMaplastLongKey in interface Long2IntOrderedMappublic long pollLastLongKey()
Long2IntOrderedMappollLastLongKey in interface Long2IntOrderedMappublic int firstIntValue()
Long2IntOrderedMapfirstIntValue in interface Long2IntOrderedMappublic int lastIntValue()
Long2IntOrderedMaplastIntValue in interface Long2IntOrderedMappublic Long2IntOrderedMap copy()
Long2IntMapcopy in interface Long2IntMapcopy in interface Long2IntOrderedMapcopy in class Long2IntMaps.UnmodifyableMappublic LongOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Long,java.lang.Integer>keySet in interface Long2IntMapkeySet in interface Long2IntOrderedMapkeySet in class Long2IntMaps.UnmodifyableMappublic ObjectOrderedSet<Long2IntMap.Entry> long2IntEntrySet()
Long2IntMaplong2IntEntrySet in interface Long2IntMaplong2IntEntrySet in interface Long2IntOrderedMaplong2IntEntrySet in class Long2IntMaps.UnmodifyableMap