public interface Byte2CharSortedMap extends java.util.SortedMap<java.lang.Byte,java.lang.Character>, Byte2CharMap
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 |
Byte2CharSortedMap.FastSortedSet
Fast Sorted Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Byte2CharMap.BuilderCache, Byte2CharMap.Entry, Byte2CharMap.FastEntrySet, Byte2CharMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator() |
Byte2CharSortedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
byte |
firstByteKey()
A method to get the first Key of a Map.
|
char |
firstCharValue()
A method to get the first Value of a Map.
|
default java.lang.Byte |
firstKey()
Deprecated.
|
Byte2CharSortedMap |
headMap(byte toKey)
A Type Specific HeadMap method to reduce boxing/unboxing
|
default Byte2CharSortedMap |
headMap(java.lang.Byte toKey)
Deprecated.
|
ByteSortedSet |
keySet() |
byte |
lastByteKey()
A method to get the last Key of a Map.
|
char |
lastCharValue()
A method to get the last Value of a Map.
|
default java.lang.Byte |
lastKey()
Deprecated.
|
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.
|
Byte2CharSortedMap |
subMap(byte fromKey,
byte toKey)
A Type Specific SubMap method to reduce boxing/unboxing
|
default Byte2CharSortedMap |
subMap(java.lang.Byte fromKey,
java.lang.Byte toKey)
Deprecated.
|
default Byte2CharSortedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Byte2CharSortedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
Byte2CharSortedMap |
tailMap(byte fromKey)
A Type Specific TailMap method to reduce boxing/unboxing
|
default Byte2CharSortedMap |
tailMap(java.lang.Byte fromKey)
Deprecated.
|
default Byte2CharSortedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
CharCollection |
values() |
addTo, addToAll, applyAsChar, builder, byte2CharEntrySet, compute, computeChar, computeCharIfAbsent, computeCharIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllChar, mergeChar, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValue, subFrom, supplyCharIfAbsentByteComparator comparator()
comparator in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>Byte2CharSortedMap copy()
Byte2CharMapcopy in interface Byte2CharMapByteSortedSet keySet()
keySet in interface Byte2CharMapkeySet in interface java.util.Map<java.lang.Byte,java.lang.Character>keySet in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>CharCollection values()
values in interface Byte2CharMapvalues in interface java.util.Map<java.lang.Byte,java.lang.Character>values in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>default Byte2CharSortedMap synchronize()
synchronize in interface Byte2CharMapByte2CharMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2CharMap)default Byte2CharSortedMap synchronize(java.lang.Object mutex)
synchronize in interface Byte2CharMapmutex - is the controller of the synchronization blockByte2CharMaps.synchronize(speiger.src.collections.bytes.maps.interfaces.Byte2CharMap)default Byte2CharSortedMap unmodifiable()
unmodifiable in interface Byte2CharMapByte2CharMaps.unmodifiable(speiger.src.collections.bytes.maps.interfaces.Byte2CharMap)Byte2CharSortedMap subMap(byte fromKey, byte toKey)
fromKey - where the submap should starttoKey - where the subMap should endByte2CharSortedMap headMap(byte toKey)
toKey - where the headMap should endByte2CharSortedMap tailMap(byte fromKey)
fromKey - where the TailMap should startbyte firstByteKey()
byte pollFirstByteKey()
byte lastByteKey()
byte pollLastByteKey()
char firstCharValue()
char lastCharValue()
@Deprecated default java.lang.Byte firstKey()
firstKey in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>@Deprecated default java.lang.Byte lastKey()
lastKey in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>@Deprecated default Byte2CharSortedMap subMap(java.lang.Byte fromKey, java.lang.Byte toKey)
subMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>@Deprecated default Byte2CharSortedMap headMap(java.lang.Byte toKey)
headMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>@Deprecated default Byte2CharSortedMap tailMap(java.lang.Byte fromKey)
tailMap in interface java.util.SortedMap<java.lang.Byte,java.lang.Character>