V - the type of elements maintained by this Collectionpublic interface Int2ObjectOrderedMap<V> extends Int2ObjectMap<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2ObjectOrderedMap.FastOrderedSet<V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2ObjectMap.BuilderCache<V>, Int2ObjectMap.Entry<V>, Int2ObjectMap.FastEntrySet<V>, Int2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2ObjectOrderedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2ObjectMap.Entry<V>> |
int2ObjectEntrySet()
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.
|
V |
lastValue()
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.
|
V |
putAndMoveToFirst(int key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(int key,
V value)
A customized put method that allows you to insert into the last index.
|
default Int2ObjectOrderedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2ObjectOrderedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2ObjectOrderedMap<V> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
builder, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, supplyIfAbsent, valuesclear, containsValue, equals, hashCode, isEmpty, putAll, sizeapplyV putAndMoveToFirst(int key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(int key, V 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 lastV getAndMoveToFirst(int key)
key - that is searched forV getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
V firstValue()
V lastValue()
Int2ObjectOrderedMap<V> copy()
Int2ObjectMapcopy in interface Int2ObjectMap<V>IntOrderedSet keySet()
keySet in interface Int2ObjectMap<V>keySet in interface java.util.Map<java.lang.Integer,V>ObjectOrderedSet<Int2ObjectMap.Entry<V>> int2ObjectEntrySet()
Int2ObjectMapint2ObjectEntrySet in interface Int2ObjectMap<V>default Int2ObjectOrderedMap<V> synchronize()
synchronize in interface Int2ObjectMap<V>Int2ObjectMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ObjectMap<V>)default Int2ObjectOrderedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Int2ObjectMap<V>mutex - is the controller of the synchronization blockInt2ObjectMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ObjectMap<V>)default Int2ObjectOrderedMap<V> unmodifiable()
unmodifiable in interface Int2ObjectMap<V>Int2ObjectMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2ObjectMap<V>)