public interface Short2ShortOrderedMap extends Short2ShortMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Short2ShortOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2ShortMap.BuilderCache, Short2ShortMap.Entry, Short2ShortMap.FastEntrySet, Short2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2ShortOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
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.
|
short |
lastShortValue()
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.
|
short |
putAndMoveToFirst(short key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(short key,
short value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2ShortMap.Entry> |
short2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
default Short2ShortOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2ShortOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Short2ShortOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllShort, mergeShort, 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(short key,
short value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)short putAndMoveToLast(short key,
short 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 lastshort getAndMoveToFirst(short key)
key - that is searched forshort getAndMoveToLast(short key)
key - that is searched forshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
short firstShortValue()
short lastShortValue()
Short2ShortOrderedMap copy()
Short2ShortMapcopy in interface Short2ShortMapShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Short>keySet in interface Short2ShortMapObjectOrderedSet<Short2ShortMap.Entry> short2ShortEntrySet()
Short2ShortMapshort2ShortEntrySet in interface Short2ShortMapdefault Short2ShortOrderedMap synchronize()
synchronize in interface Short2ShortMapShort2ShortMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ShortMap)default Short2ShortOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Short2ShortMapmutex - is the controller of the synchronization blockShort2ShortMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2ShortMap)default Short2ShortOrderedMap unmodifiable()
unmodifiable in interface Short2ShortMapShort2ShortMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2ShortMap)