T - the keyType of elements maintained by this Collectionpublic static class Object2ShortMaps.SynchronizedOrderedMap<T> extends Object2ShortMaps.SynchronizedMap<T> implements Object2ShortOrderedMap<T>
AbstractObject2ShortMap.BasicEntry<T>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Object2ShortOrderedMap.FastOrderedSet<T>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.
|
addTo, addToAll, computeShort, computeShortIfAbsent, computeShortIfPresent, containsValue, forEach, getDefaultReturnValue, getOrDefault, getShort, mergeAllShort, mergeShort, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, rem, remOrDefault, remove, replace, replace, replaceShorts, replaceShorts, setDefaultReturnValue, size, subFrom, supplyShortIfAbsent, valuescontainsKey, entrySet, equals, get, getOrDefault, hashCode, put, putAll, removesynchronize, synchronize, unmodifiableaddTo, 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, valuespublic short putAndMoveToFirst(T key, short value)
Object2ShortOrderedMapputAndMoveToFirst in interface Object2ShortOrderedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(T key, short value)
Object2ShortOrderedMapputAndMoveToLast in interface Object2ShortOrderedMap<T>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(T key)
Object2ShortOrderedMapmoveToFirst in interface Object2ShortOrderedMap<T>key - that should be moved to the first indexpublic boolean moveToLast(T key)
Object2ShortOrderedMapmoveToLast in interface Object2ShortOrderedMap<T>key - that should be moved to the first lastpublic short getAndMoveToFirst(T key)
Object2ShortOrderedMapgetAndMoveToFirst in interface Object2ShortOrderedMap<T>key - that is searched forpublic short getAndMoveToLast(T key)
Object2ShortOrderedMapgetAndMoveToLast in interface Object2ShortOrderedMap<T>key - that is searched forpublic T firstKey()
Object2ShortOrderedMapfirstKey in interface Object2ShortOrderedMap<T>public T pollFirstKey()
Object2ShortOrderedMappollFirstKey in interface Object2ShortOrderedMap<T>public T lastKey()
Object2ShortOrderedMaplastKey in interface Object2ShortOrderedMap<T>public T pollLastKey()
Object2ShortOrderedMappollLastKey in interface Object2ShortOrderedMap<T>public short firstShortValue()
Object2ShortOrderedMapfirstShortValue in interface Object2ShortOrderedMap<T>public short lastShortValue()
Object2ShortOrderedMaplastShortValue in interface Object2ShortOrderedMap<T>public Object2ShortOrderedMap<T> copy()
Object2ShortMapcopy in interface Object2ShortMap<T>copy in interface Object2ShortOrderedMap<T>copy in class Object2ShortMaps.SynchronizedMap<T>public ObjectOrderedSet<T> keySet()
keySet in interface java.util.Map<T,java.lang.Short>keySet in interface Object2ShortMap<T>keySet in interface Object2ShortOrderedMap<T>keySet in class Object2ShortMaps.SynchronizedMap<T>public ObjectOrderedSet<Object2ShortMap.Entry<T>> object2ShortEntrySet()
Object2ShortMapobject2ShortEntrySet in interface Object2ShortMap<T>object2ShortEntrySet in interface Object2ShortOrderedMap<T>object2ShortEntrySet in class Object2ShortMaps.SynchronizedMap<T>