V - the type of elements maintained by this Collectionpublic interface Short2ObjectOrderedMap<V> extends Short2ObjectMap<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Short2ObjectOrderedMap.FastOrderedSet<V>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2ObjectMap.BuilderCache<V>, Short2ObjectMap.Entry<V>, Short2ObjectMap.FastEntrySet<V>, Short2ObjectMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2ObjectOrderedMap<V> |
copy()
A Function that does a shallow clone of the Map itself.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
V |
firstValue()
A method to get the first Value of a Map.
|
V |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
V |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
short |
lastShortKey()
A method to get the last Key of a Map.
|
V |
lastValue()
A method to get the last Value 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.
|
V |
putAndMoveToFirst(short key,
V value)
A customized put method that allows you to insert into the first index.
|
V |
putAndMoveToLast(short key,
V value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2ObjectMap.Entry<V>> |
short2ObjectEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
default Short2ObjectOrderedMap<V> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2ObjectOrderedMap<V> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Short2ObjectOrderedMap<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, valuesV putAndMoveToFirst(short key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)V putAndMoveToLast(short key, V value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(short key)
key - that should be moved to the first indexboolean moveToLast(short key)
key - that should be moved to the first lastV getAndMoveToFirst(short key)
key - that is searched forV getAndMoveToLast(short key)
key - that is searched forshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
V firstValue()
V lastValue()
Short2ObjectOrderedMap<V> copy()
Short2ObjectMapcopy in interface Short2ObjectMap<V>ShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,V>keySet in interface Short2ObjectMap<V>ObjectOrderedSet<Short2ObjectMap.Entry<V>> short2ObjectEntrySet()
Short2ObjectMapshort2ObjectEntrySet in interface Short2ObjectMap<V>default Short2ObjectOrderedMap<V> synchronize()
synchronize in interface Short2ObjectMap<V>Short2ObjectMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ObjectMap<V>)default Short2ObjectOrderedMap<V> synchronize(java.lang.Object mutex)
synchronize in interface Short2ObjectMap<V>mutex - is the controller of the synchronization blockShort2ObjectMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ObjectMap<V>)default Short2ObjectOrderedMap<V> unmodifiable()
unmodifiable in interface Short2ObjectMap<V>Short2ObjectMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2ObjectMap<V>)