public interface Int2ShortOrderedMap extends Int2ShortMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2ShortOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2ShortMap.BuilderCache, Int2ShortMap.Entry, Int2ShortMap.FastEntrySet, Int2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2ShortMap.Entry> |
int2ShortEntrySet()
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.
|
short |
lastShortValue()
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.
|
short |
putAndMoveToFirst(int key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(int key,
short value)
A customized put method that allows you to insert into the last index.
|
default Int2ShortOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2ShortOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2ShortOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsShort, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, valuesshort putAndMoveToFirst(int key,
short value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)short putAndMoveToLast(int key,
short 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 lastshort getAndMoveToFirst(int key)
key - that is searched forshort getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
short firstShortValue()
short lastShortValue()
Int2ShortOrderedMap copy()
Int2ShortMapcopy in interface Int2ShortMapIntOrderedSet keySet()
keySet in interface Int2ShortMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Short>ObjectOrderedSet<Int2ShortMap.Entry> int2ShortEntrySet()
Int2ShortMapint2ShortEntrySet in interface Int2ShortMapdefault Int2ShortOrderedMap synchronize()
synchronize in interface Int2ShortMapInt2ShortMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ShortMap)default Int2ShortOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2ShortMapmutex - is the controller of the synchronization blockInt2ShortMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2ShortMap)default Int2ShortOrderedMap unmodifiable()
unmodifiable in interface Int2ShortMapInt2ShortMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2ShortMap)