public interface Char2ByteSortedMap extends java.util.SortedMap<java.lang.Character,java.lang.Byte>, Char2ByteMap
SortedMap interface to reduce boxing/unboxing, with a couple extra methods that allow greater control over maps.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Char2ByteSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Char2ByteMap.Entry, Char2ByteMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
CharComparator |
comparator() |
byte |
firstByteValue()
A method to get the first Value of a Map.
|
char |
firstCharKey()
A method to get the first Key of a Map.
|
default java.lang.Character |
firstKey()
Deprecated.
|
byte |
getAndMoveToFirst(char key)
A Specific get method that allows to move teh given key/value int the first index.
|
byte |
getAndMoveToLast(char key)
A Specific get method that allows to move teh given key/value int the last index.
|
Char2ByteSortedMap |
headMap(char toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Char2ByteSortedMap |
headMap(java.lang.Character toKey)
Deprecated.
|
CharSet |
keySet() |
byte |
lastByteValue()
A method to get the last Value of a Map.
|
char |
lastCharKey()
A method to get the last Key of a Map.
|
default java.lang.Character |
lastKey()
Deprecated.
|
boolean |
moveToFirst(char key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(char key)
A specific move method to move a given key/value to the last index.
|
char |
pollFirstCharKey()
A method to get and remove the first Key of a Map.
|
char |
pollLastCharKey()
A method to get and remove the last Key of a Map.
|
byte |
putAndMoveToFirst(char key,
byte value)
A customized put method that allows you to insert into the first index.
|
byte |
putAndMoveToLast(char key,
byte value)
A customized put method that allows you to insert into the last index.
|
default Char2ByteSortedMap |
subMap(java.lang.Character fromKey,
java.lang.Character toKey)
Deprecated.
|
Char2ByteSortedMap |
subMap(char fromKey,
char toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
Char2ByteSortedMap |
tailMap(char fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Char2ByteSortedMap |
tailMap(java.lang.Character fromKey)
Deprecated.
|
ByteCollection |
values() |
addTo, addToAll, char2ByteEntrySet, compute, computeByte, computeByteIfAbsent, computeByteIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getByte, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllByte, mergeByte, put, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remChar, remCharOrDefault, remove, remove, remove, replace, replace, replace, replace, replaceAll, replaceBytes, replaceBytes, setDefaultReturnValuebyte putAndMoveToFirst(char key,
byte value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)byte putAndMoveToLast(char key,
byte value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(char key)
key - that should be moved to the first indexboolean moveToLast(char key)
key - that should be moved to the first lastbyte getAndMoveToFirst(char key)
key - that is searched forbyte getAndMoveToLast(char key)
key - that is searched forCharComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>CharSet keySet()
keySet in interface Char2ByteMapkeySet in interface java.util.Map<java.lang.Character,java.lang.Byte>keySet in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>ByteCollection values()
values in interface Char2ByteMapvalues in interface java.util.Map<java.lang.Character,java.lang.Byte>values in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>Char2ByteSortedMap subMap(char fromKey, char toKey)
fromKey - where the submap should starttoKey - where the subMap should endChar2ByteSortedMap headMap(char toKey)
toKey - where the headMap should endChar2ByteSortedMap tailMap(char fromKey)
fromKey - where the TailMap should startchar firstCharKey()
char pollFirstCharKey()
char lastCharKey()
char pollLastCharKey()
byte firstByteValue()
byte lastByteValue()
@Deprecated default java.lang.Character firstKey()
firstKey in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>@Deprecated default java.lang.Character lastKey()
lastKey in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>@Deprecated default Char2ByteSortedMap subMap(java.lang.Character fromKey, java.lang.Character toKey)
subMap in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>@Deprecated default Char2ByteSortedMap headMap(java.lang.Character toKey)
headMap in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>@Deprecated default Char2ByteSortedMap tailMap(java.lang.Character fromKey)
tailMap in interface java.util.SortedMap<java.lang.Character,java.lang.Byte>