public interface Int2IntOrderedMap extends Int2IntMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2IntOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2IntMap.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.
|
default Int2IntOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2IntOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2IntOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, 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, valuesandThen, compose, identityint putAndMoveToFirst(int key,
int value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)int putAndMoveToLast(int key,
int value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(int key)
key - that should be moved to the first indexboolean moveToLast(int key)
key - that should be moved to the first lastint getAndMoveToFirst(int key)
key - that is searched forint getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
int firstIntValue()
int lastIntValue()
Int2IntOrderedMap copy()
Int2IntMapcopy in interface Int2IntMapIntOrderedSet keySet()
keySet in interface Int2IntMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Integer>ObjectOrderedSet<Int2IntMap.Entry> int2IntEntrySet()
Int2IntMapint2IntEntrySet in interface Int2IntMapdefault Int2IntOrderedMap synchronize()
synchronize in interface Int2IntMapInt2IntMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2IntMap)default Int2IntOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2IntMapmutex - is the controller of the synchronization blockInt2IntMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2IntMap)default Int2IntOrderedMap unmodifiable()
unmodifiable in interface Int2IntMapInt2IntMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2IntMap)