public static class Char2ByteSortedMaps.UnmodifiableSortedMap extends Char2ByteMaps.UnmodifiableMap implements Char2ByteSortedMap, Serializable
Char2ByteSortedMap.FastSortedEntrySetChar2ByteMap.Entry, Char2ByteMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Char2ByteMap.Entry> |
char2ByteEntrySet()
Returns a type-specific set view of the mappings contained in this map.
|
CharComparator |
comparator()
Returns the comparator associated with this sorted set, or null if it
uses its keys' natural ordering.
|
ObjectSortedSet<Map.Entry<Character,Byte>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
char |
firstCharKey() |
Character |
firstKey() |
Char2ByteSortedMap |
headMap(char to)
Returns a view of the portion of this sorted map whose keys are strictly
less than
toKey. |
Char2ByteSortedMap |
headMap(Character to)
Returns a view of the portion of this sorted map whose keys are strictly
less than
toKey. |
CharSortedSet |
keySet()
Returns a set view of the keys contained in this map.
|
char |
lastCharKey() |
Character |
lastKey() |
Char2ByteSortedMap |
subMap(Character from,
Character to)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
Char2ByteSortedMap |
subMap(char from,
char to)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
Char2ByteSortedMap |
tailMap(char from)
Returns a view of the portion of this sorted map whose keys are greater
than or equal to
fromKey. |
Char2ByteSortedMap |
tailMap(Character from)
Returns a view of the portion of this sorted map whose keys are greater
than or equal to
fromKey. |
clear, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, get, isEmpty, put, put, putAll, remove, size, toString, valuesget, removeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitvaluescontainsValuecontainsKey, defaultReturnValue, defaultReturnValue, get, put, removeclear, containsKey, get, put, remove, sizeclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic CharComparator comparator()
Char2ByteSortedMap
Note that this specification strengthens the one given in
SortedMap.comparator().
comparator in interface Char2ByteSortedMapcomparator in interface SortedMap<Character,Byte>SortedMap.comparator()public ObjectSortedSet<Char2ByteMap.Entry> char2ByteEntrySet()
Char2ByteMap
This method is necessary because there is no inheritance along type
parameters: it is thus impossible to strengthen Char2ByteMap.entrySet() so
that it returns an ObjectSet of
type-specific entries (the latter makes it possible to access keys and
values with type-specific methods).
char2ByteEntrySet in interface Char2ByteMapchar2ByteEntrySet in interface Char2ByteSortedMapchar2ByteEntrySet in class Char2ByteMaps.UnmodifiableMapChar2ByteMap.entrySet()public ObjectSortedSet<Map.Entry<Character,Byte>> entrySet()
Char2ByteMap
Note that this specification strengthens the one given in
Map.entrySet().
entrySet in interface Char2ByteMapentrySet in interface Char2ByteSortedMapentrySet in interface Map<Character,Byte>entrySet in interface SortedMap<Character,Byte>entrySet in class Char2ByteMaps.UnmodifiableMapMap.entrySet()public CharSortedSet keySet()
Char2ByteMap
Note that this specification strengthens the one given in
Map.keySet().
keySet in interface Char2ByteMapkeySet in interface Char2ByteSortedMapkeySet in interface Map<Character,Byte>keySet in interface SortedMap<Character,Byte>keySet in class Char2ByteMaps.UnmodifiableMapMap.keySet()public Char2ByteSortedMap subMap(char from, char to)
Char2ByteSortedMapfromKey, inclusive, to toKey, exclusive.subMap in interface Char2ByteSortedMapSortedMap.subMap(Object,Object)public Char2ByteSortedMap headMap(char to)
Char2ByteSortedMaptoKey.headMap in interface Char2ByteSortedMapSortedMap.headMap(Object)public Char2ByteSortedMap tailMap(char from)
Char2ByteSortedMapfromKey.tailMap in interface Char2ByteSortedMapSortedMap.tailMap(Object)public char firstCharKey()
firstCharKey in interface Char2ByteSortedMapSortedMap.firstKey()public char lastCharKey()
lastCharKey in interface Char2ByteSortedMapSortedMap.lastKey()public Char2ByteSortedMap subMap(Character from, Character to)
Char2ByteSortedMapfromKey, inclusive, to toKey, exclusive.
Note that this specification strengthens the one given in
SortedMap.subMap(Object,Object).
subMap in interface Char2ByteSortedMapsubMap in interface SortedMap<Character,Byte>SortedMap.subMap(Object,Object)public Char2ByteSortedMap headMap(Character to)
Char2ByteSortedMaptoKey.
Note that this specification strengthens the one given in
SortedMap.headMap(Object).
headMap in interface Char2ByteSortedMapheadMap in interface SortedMap<Character,Byte>SortedMap.headMap(Object)public Char2ByteSortedMap tailMap(Character from)
Char2ByteSortedMapfromKey.
Note that this specification strengthens the one given in
SortedMap.tailMap(Object).
tailMap in interface Char2ByteSortedMaptailMap in interface SortedMap<Character,Byte>SortedMap.tailMap(Object)