T - the keyType of elements maintained by this Collectionpublic interface Object2ShortOrderedMap<T> extends Object2ShortMap<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Object2ShortOrderedMap.FastOrderedSet<T>
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Object2ShortMap.BuilderCache<T>, Object2ShortMap.Entry<T>, Object2ShortMap.FastEntrySet<T>, Object2ShortMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Object2ShortOrderedMap<T> |
copy()
A Function that does a shallow clone of the Map itself.
|
T |
firstKey()
A method to get the first Key of a Map.
|
short |
firstShortValue()
A method to get the first Value of a Map.
|
short |
getAndMoveToFirst(T key)
A Specific get method that allows to move teh given key/value int the first index.
|
short |
getAndMoveToLast(T key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<T> |
keySet() |
T |
lastKey()
A method to get the last Key of a Map.
|
short |
lastShortValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(T key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(T key)
A specific move method to move a given key/value to the last index.
|
ObjectOrderedSet<Object2ShortMap.Entry<T>> |
object2ShortEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
T |
pollFirstKey()
A method to get and remove the first Key of a Map.
|
T |
pollLastKey()
A method to get and remove the last Key of a Map.
|
short |
putAndMoveToFirst(T key,
short value)
A customized put method that allows you to insert into the first index.
|
short |
putAndMoveToLast(T key,
short value)
A customized put method that allows you to insert into the last index.
|
default Object2ShortOrderedMap<T> |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Object2ShortOrderedMap<T> |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Object2ShortOrderedMap<T> |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
addTo, addToAll, applyAsShort, builder, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getOrDefault, getOrDefault, getShort, merge, mergeAllShort, mergeShort, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, rem, remOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, subFrom, supplyShortIfAbsent, valuesshort putAndMoveToFirst(T key, short value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)short putAndMoveToLast(T key, short value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(T key)
key - that should be moved to the first indexboolean moveToLast(T key)
key - that should be moved to the first lastshort getAndMoveToFirst(T key)
key - that is searched forshort getAndMoveToLast(T key)
key - that is searched forT firstKey()
T pollFirstKey()
T lastKey()
T pollLastKey()
short firstShortValue()
short lastShortValue()
Object2ShortOrderedMap<T> copy()
Object2ShortMapcopy in interface Object2ShortMap<T>ObjectOrderedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Short>keySet in interface Object2ShortMap<T>ObjectOrderedSet<Object2ShortMap.Entry<T>> object2ShortEntrySet()
Object2ShortMapobject2ShortEntrySet in interface Object2ShortMap<T>default Object2ShortOrderedMap<T> synchronize()
synchronize in interface Object2ShortMap<T>Object2ShortMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ShortMap<T>)default Object2ShortOrderedMap<T> synchronize(java.lang.Object mutex)
synchronize in interface Object2ShortMap<T>mutex - is the controller of the synchronization blockObject2ShortMaps.synchronize(speiger.src.collections.objects.maps.interfaces.Object2ShortMap<T>)default Object2ShortOrderedMap<T> unmodifiable()
unmodifiable in interface Object2ShortMap<T>Object2ShortMaps.unmodifiable(speiger.src.collections.objects.maps.interfaces.Object2ShortMap<T>)