public static class Byte2CharMaps.UnmodifyableSortedMap extends Byte2CharMaps.UnmodifyableMap implements Byte2CharSortedMap
AbstractByte2CharMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2CharSortedMap.FastSortedSetByte2CharMap.Entry, Byte2CharMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator() |
byte |
firstByteKey()
A method to get the first Key of a Map.
|
char |
firstCharValue()
A method to get the first Value of a Map.
|
char |
getAndMoveToFirst(byte key)
A Specific get method that allows to move teh given key/value int the first index.
|
char |
getAndMoveToLast(byte key)
A Specific get method that allows to move teh given key/value int the last index.
|
Byte2CharSortedMap |
headMap(byte toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
byte |
lastByteKey()
A method to get the last Key of a Map.
|
char |
lastCharValue()
A method to get the last Value of a Map.
|
boolean |
moveToFirst(byte key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(byte key)
A specific move method to move a given key/value to the last index.
|
byte |
pollFirstByteKey()
A method to get and remove the first Key of a Map.
|
byte |
pollLastByteKey()
A method to get and remove the last Key of a Map.
|
char |
putAndMoveToFirst(byte key,
char value)
A customized put method that allows you to insert into the first index.
|
char |
putAndMoveToLast(byte key,
char value)
A customized put method that allows you to insert into the last index.
|
Byte2CharSortedMap |
subMap(byte fromKey,
byte toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Byte2CharSortedMap |
tailMap(byte fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
addTo, byte2CharEntrySet, getChar, getOrDefault, keySet, put, putIfAbsent, remByte, remByteOrDefault, remove, 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, byte2CharEntrySet, 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, remByte, remByteOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValuepublic char putAndMoveToFirst(byte key,
char value)
Byte2CharSortedMapputAndMoveToFirst in interface Byte2CharSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public char putAndMoveToLast(byte key,
char value)
Byte2CharSortedMapputAndMoveToLast in interface Byte2CharSortedMapkey - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)public boolean moveToFirst(byte key)
Byte2CharSortedMapmoveToFirst in interface Byte2CharSortedMapkey - that should be moved to the first indexpublic boolean moveToLast(byte key)
Byte2CharSortedMapmoveToLast in interface Byte2CharSortedMapkey - that should be moved to the first lastpublic char getAndMoveToFirst(byte key)
Byte2CharSortedMapgetAndMoveToFirst in interface Byte2CharSortedMapkey - that is searched forpublic char getAndMoveToLast(byte key)
Byte2CharSortedMapgetAndMoveToLast in interface Byte2CharSortedMapkey - that is searched forpublic ByteComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>comparator in interface Byte2CharSortedMappublic Byte2CharSortedMap subMap(byte fromKey, byte toKey)
Byte2CharSortedMapsubMap in interface Byte2CharSortedMapfromKey - where the submap should starttoKey - where the subMap should endpublic Byte2CharSortedMap headMap(byte toKey)
Byte2CharSortedMapheadMap in interface Byte2CharSortedMaptoKey - where the headMap should endpublic Byte2CharSortedMap tailMap(byte fromKey)
Byte2CharSortedMaptailMap in interface Byte2CharSortedMapfromKey - where the TailMap should startpublic byte firstByteKey()
Byte2CharSortedMapfirstByteKey in interface Byte2CharSortedMappublic byte pollFirstByteKey()
Byte2CharSortedMappollFirstByteKey in interface Byte2CharSortedMappublic byte lastByteKey()
Byte2CharSortedMaplastByteKey in interface Byte2CharSortedMappublic byte pollLastByteKey()
Byte2CharSortedMappollLastByteKey in interface Byte2CharSortedMappublic char firstCharValue()
Byte2CharSortedMapfirstCharValue in interface Byte2CharSortedMappublic char lastCharValue()
Byte2CharSortedMaplastCharValue in interface Byte2CharSortedMap