public static class Short2IntMaps.SynchronizedSortedMap extends Short2IntMaps.SynchronizedMap implements Short2IntSortedMap
AbstractShort2IntMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2IntSortedMap.FastSortedSetShort2IntMap.Entry, Short2IntMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
int |
firstIntValue()
A method to get the first Value of a Map.
|
java.lang.Short |
firstKey()
Deprecated.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
int |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
int |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
Short2IntSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
Short2IntSortedMap |
headMap(java.lang.Short toKey)
Deprecated.
|
int |
lastIntValue()
A method to get the last Value of a Map.
|
java.lang.Short |
lastKey()
Deprecated.
|
short |
lastShortKey()
A method to get the last Key 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.
|
int |
putAndMoveToFirst(short key,
int value)
A customized put method that allows you to insert into the first index.
|
int |
putAndMoveToLast(short key,
int value)
A customized put method that allows you to insert into the last index.
|
Short2IntSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2IntSortedMap |
subMap(java.lang.Short fromKey,
java.lang.Short toKey)
Deprecated.
|
Short2IntSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
Short2IntSortedMap |
tailMap(java.lang.Short fromKey)
Deprecated.
|
addTo, addToAll, clear, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, keySet, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, short2IntEntrySet, size, valuesentrySet, equals, hashCodekeySet, valuesaddTo, addToAll, compute, computeIfAbsent, computeIfPresent, computeInt, computeIntIfAbsent, computeIntIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getInt, getOrDefault, getOrDefault, merge, mergeAllInt, mergeInt, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceInts, replaceInts, setDefaultReturnValue, short2IntEntrySetpublic int putAndMoveToFirst(short key,
int value)
Short2IntSortedMapputAndMoveToFirst in interface Short2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public int putAndMoveToLast(short key,
int value)
Short2IntSortedMapputAndMoveToLast in interface Short2IntSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2IntSortedMapmoveToFirst in interface Short2IntSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2IntSortedMapmoveToLast in interface Short2IntSortedMapkey - that should be moved to the first lastpublic int getAndMoveToFirst(short key)
Short2IntSortedMapgetAndMoveToFirst in interface Short2IntSortedMapkey - that is searched forpublic int getAndMoveToLast(short key)
Short2IntSortedMapgetAndMoveToLast in interface Short2IntSortedMapkey - that is searched forpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>comparator in interface Short2IntSortedMappublic Short2IntSortedMap subMap(short fromKey, short toKey)
Short2IntSortedMapsubMap in interface Short2IntSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Short2IntSortedMap headMap(short toKey)
Short2IntSortedMapheadMap in interface Short2IntSortedMaptoKey - where the headMap should endpublic Short2IntSortedMap tailMap(short fromKey)
Short2IntSortedMaptailMap in interface Short2IntSortedMapfromKey - where the TailMap should startpublic short firstShortKey()
Short2IntSortedMapfirstShortKey in interface Short2IntSortedMappublic short pollFirstShortKey()
Short2IntSortedMappollFirstShortKey in interface Short2IntSortedMappublic short lastShortKey()
Short2IntSortedMaplastShortKey in interface Short2IntSortedMappublic short pollLastShortKey()
Short2IntSortedMappollLastShortKey in interface Short2IntSortedMappublic int firstIntValue()
Short2IntSortedMapfirstIntValue in interface Short2IntSortedMappublic int lastIntValue()
Short2IntSortedMaplastIntValue in interface Short2IntSortedMap@Deprecated public java.lang.Short firstKey()
firstKey in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>firstKey in interface Short2IntSortedMap@Deprecated public java.lang.Short lastKey()
lastKey in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>lastKey in interface Short2IntSortedMap@Deprecated public Short2IntSortedMap subMap(java.lang.Short fromKey, java.lang.Short toKey)
subMap in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>subMap in interface Short2IntSortedMap@Deprecated public Short2IntSortedMap headMap(java.lang.Short toKey)
headMap in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>headMap in interface Short2IntSortedMap@Deprecated public Short2IntSortedMap tailMap(java.lang.Short fromKey)
tailMap in interface java.util.SortedMap<java.lang.Short,java.lang.Integer>tailMap in interface Short2IntSortedMap