public static class Short2CharMaps.UnmodifyableSortedMap extends Short2CharMaps.UnmodifyableMap implements Short2CharSortedMap
AbstractShort2CharMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Short2CharSortedMap.FastSortedSetShort2CharMap.Entry, Short2CharMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ShortComparator |
comparator() |
char |
firstCharValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
char |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
char |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
Short2CharSortedMap |
headMap(short toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
char |
lastCharValue()
A method to get the last Value of a Map.
|
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.
|
char |
putAndMoveToFirst(short key,
char value)
A customized put method that allows you to insert into the first index.
|
char |
putAndMoveToLast(short key,
char value)
A customized put method that allows you to insert into the last index.
|
Short2CharSortedMap |
subMap(short fromKey,
short toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Short2CharSortedMap |
tailMap(short fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, getChar, getOrDefault, keySet, put, putIfAbsent, remove, remShort, remShortOrDefault, short2CharEntrySet, valuesaddToAll, computeChar, computeCharIfAbsent, computeCharIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllChar, mergeChar, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceChars, replaceChars, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringfirstKey, headMap, keySet, lastKey, subMap, tailMap, valuesaddTo, addToAll, compute, computeChar, computeCharIfAbsent, computeCharIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getChar, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllChar, mergeChar, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remShort, remShortOrDefault, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValue, short2CharEntrySetpublic char putAndMoveToFirst(short key,
char value)
Short2CharSortedMapputAndMoveToFirst in interface Short2CharSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public char putAndMoveToLast(short key,
char value)
Short2CharSortedMapputAndMoveToLast in interface Short2CharSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(short key)
Short2CharSortedMapmoveToFirst in interface Short2CharSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(short key)
Short2CharSortedMapmoveToLast in interface Short2CharSortedMapkey - that should be moved to the first lastpublic char getAndMoveToFirst(short key)
Short2CharSortedMapgetAndMoveToFirst in interface Short2CharSortedMapkey - that is searched forpublic char getAndMoveToLast(short key)
Short2CharSortedMapgetAndMoveToLast in interface Short2CharSortedMapkey - that is searched forpublic ShortComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Short,java.lang.Character>comparator in interface Short2CharSortedMappublic Short2CharSortedMap subMap(short fromKey, short toKey)
Short2CharSortedMapsubMap in interface Short2CharSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Short2CharSortedMap headMap(short toKey)
Short2CharSortedMapheadMap in interface Short2CharSortedMaptoKey - where the headMap should endpublic Short2CharSortedMap tailMap(short fromKey)
Short2CharSortedMaptailMap in interface Short2CharSortedMapfromKey - where the TailMap should startpublic short firstShortKey()
Short2CharSortedMapfirstShortKey in interface Short2CharSortedMappublic short pollFirstShortKey()
Short2CharSortedMappollFirstShortKey in interface Short2CharSortedMappublic short lastShortKey()
Short2CharSortedMaplastShortKey in interface Short2CharSortedMappublic short pollLastShortKey()
Short2CharSortedMappollLastShortKey in interface Short2CharSortedMappublic char firstCharValue()
Short2CharSortedMapfirstCharValue in interface Short2CharSortedMappublic char lastCharValue()
Short2CharSortedMaplastCharValue in interface Short2CharSortedMap