public static class Short2ShortMaps.UnmodifyableSortedMap extends Short2ShortMaps.UnmodifyableMap implements Short2ShortSortedMap
AbstractShort2ShortMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2ShortSortedMap.FastSortedSetShort2ShortMap.Entry, Short2ShortMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
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.
|
Short2ShortSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
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.
|
Short2ShortSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2ShortSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getOrDefault, getShort, keySet, put, putIfAbsent, remove, remShort, remShortOrDefault, short2ShortEntrySet, valuesaddToAll, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllShort, mergeShort, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceShorts, replaceShorts, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeIfAbsent, computeIfPresent, computeShort, computeShortIfAbsent, computeShortIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getOrDefault, getOrDefault, getShort, merge, mergeAllShort, mergeShort, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceShorts, replaceShorts, setDefaultReturnValue, short2ShortEntrySetpublic short putAndMoveToFirst(short key,
short value)
Short2ShortSortedMapputAndMoveToFirst in interface Short2ShortSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public short putAndMoveToLast(short key,
short value)
Short2ShortSortedMapputAndMoveToLast in interface Short2ShortSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2ShortSortedMapmoveToFirst in interface Short2ShortSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2ShortSortedMapmoveToLast in interface Short2ShortSortedMapkey - that should be moved to the first lastpublic short getAndMoveToFirst(short key)
Short2ShortSortedMapgetAndMoveToFirst in interface Short2ShortSortedMapkey - that is searched forpublic short getAndMoveToLast(short key)
Short2ShortSortedMapgetAndMoveToLast in interface Short2ShortSortedMapkey - that is searched forpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Short>comparator in interface Short2ShortSortedMappublic Short2ShortSortedMap subMap(short fromKey, short toKey)
Short2ShortSortedMapsubMap in interface Short2ShortSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Short2ShortSortedMap headMap(short toKey)
Short2ShortSortedMapheadMap in interface Short2ShortSortedMaptoKey - where the headMap should endpublic Short2ShortSortedMap tailMap(short fromKey)
Short2ShortSortedMaptailMap in interface Short2ShortSortedMapfromKey - where the TailMap should startpublic short firstShortKey()
Short2ShortSortedMapfirstShortKey in interface Short2ShortSortedMappublic short pollFirstShortKey()
Short2ShortSortedMappollFirstShortKey in interface Short2ShortSortedMappublic short lastShortKey()
Short2ShortSortedMaplastShortKey in interface Short2ShortSortedMappublic short pollLastShortKey()
Short2ShortSortedMappollLastShortKey in interface Short2ShortSortedMappublic short firstShortValue()
Short2ShortSortedMapfirstShortValue in interface Short2ShortSortedMappublic short lastShortValue()
Short2ShortSortedMaplastShortValue in interface Short2ShortSortedMap