V - the type of elements maintained by this Collectionpublic static class Short2ObjectMaps.SynchronizedSortedMap<V> extends Short2ObjectMaps.SynchronizedMap<V> implements Short2ObjectSortedMap<V>
AbstractShort2ObjectMap.BasicEntry<V>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2ObjectSortedMap.FastSortedSet<V>Short2ObjectMap.Entry<V>, Short2ObjectMap.FastEntrySet<V>| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
java.lang.Short |
firstKey()
Deprecated.
|
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.
|
Short2ObjectSortedMap<V> |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
Short2ObjectSortedMap<V> |
headMap(java.lang.Short toKey)
Deprecated.
|
java.lang.Short |
lastKey()
Deprecated.
|
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.
|
Short2ObjectSortedMap<V> |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2ObjectSortedMap<V> |
subMap(java.lang.Short fromKey,
java.lang.Short toKey)
Deprecated.
|
Short2ObjectSortedMap<V> |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
Short2ObjectSortedMap<V> |
tailMap(java.lang.Short fromKey)
Deprecated.
|
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, forEach, forEach, get, getDefaultReturnValue, getObject, getOrDefault, getOrDefault, keySet, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, short2ObjectEntrySet, size, valuesentrySet, equals, hashCodekeySet, valuescompute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, containsKey, containsKey, entrySet, forEach, forEach, get, getDefaultReturnValue, getObject, getOrDefault, getOrDefault, merge, merge, mergeAll, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceObjects, replaceObjects, setDefaultReturnValue, short2ObjectEntrySetpublic V putAndMoveToFirst(short key, V value)
Short2ObjectSortedMapputAndMoveToFirst in interface Short2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public V putAndMoveToLast(short key, V value)
Short2ObjectSortedMapputAndMoveToLast in interface Short2ObjectSortedMap<V>key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2ObjectSortedMapmoveToFirst in interface Short2ObjectSortedMap<V>key - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2ObjectSortedMapmoveToLast in interface Short2ObjectSortedMap<V>key - that should be moved to the first lastpublic V getAndMoveToFirst(short key)
Short2ObjectSortedMapgetAndMoveToFirst in interface Short2ObjectSortedMap<V>key - that is searched forpublic V getAndMoveToLast(short key)
Short2ObjectSortedMapgetAndMoveToLast in interface Short2ObjectSortedMap<V>key - that is searched forpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,V>comparator in interface Short2ObjectSortedMap<V>public Short2ObjectSortedMap<V> subMap(short fromKey, short toKey)
Short2ObjectSortedMapsubMap in interface Short2ObjectSortedMap<V>fromKey - where the submap should starttoKey - where the subMap should endpublic Short2ObjectSortedMap<V> headMap(short toKey)
Short2ObjectSortedMapheadMap in interface Short2ObjectSortedMap<V>toKey - where the headMap should endpublic Short2ObjectSortedMap<V> tailMap(short fromKey)
Short2ObjectSortedMaptailMap in interface Short2ObjectSortedMap<V>fromKey - where the TailMap should startpublic short firstShortKey()
Short2ObjectSortedMapfirstShortKey in interface Short2ObjectSortedMap<V>public short pollFirstShortKey()
Short2ObjectSortedMappollFirstShortKey in interface Short2ObjectSortedMap<V>public short lastShortKey()
Short2ObjectSortedMaplastShortKey in interface Short2ObjectSortedMap<V>public short pollLastShortKey()
Short2ObjectSortedMappollLastShortKey in interface Short2ObjectSortedMap<V>public V firstValue()
Short2ObjectSortedMapfirstValue in interface Short2ObjectSortedMap<V>public V lastValue()
Short2ObjectSortedMaplastValue in interface Short2ObjectSortedMap<V>@Deprecated public java.lang.Short firstKey()
firstKey in interface java.util.SortedMap<java.lang.Short,V>firstKey in interface Short2ObjectSortedMap<V>@Deprecated public java.lang.Short lastKey()
lastKey in interface java.util.SortedMap<java.lang.Short,V>lastKey in interface Short2ObjectSortedMap<V>@Deprecated public Short2ObjectSortedMap<V> subMap(java.lang.Short fromKey, java.lang.Short toKey)
subMap in interface java.util.SortedMap<java.lang.Short,V>subMap in interface Short2ObjectSortedMap<V>@Deprecated public Short2ObjectSortedMap<V> headMap(java.lang.Short toKey)
headMap in interface java.util.SortedMap<java.lang.Short,V>headMap in interface Short2ObjectSortedMap<V>@Deprecated public Short2ObjectSortedMap<V> tailMap(java.lang.Short fromKey)
tailMap in interface java.util.SortedMap<java.lang.Short,V>tailMap in interface Short2ObjectSortedMap<V>