public abstract class AbstractChar2ShortSortedMap extends AbstractChar2ShortMap implements Char2ShortSortedMap
AbstractChar2ShortMap.BasicEntry, AbstractChar2ShortMap.BasicEntrySet
Char2ShortSortedMap.FastSortedEntrySet
Char2ShortMap.Entry, Char2ShortMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
CharSortedSet |
keySet()
Returns a type-specific-set view of the keys of this map.
|
ShortCollection |
values()
Returns a type-specific-set view of the values of this map.
|
containsKey, containsValue, equals, hashCode, isEmpty, putAll, toString
defaultReturnValue, defaultReturnValue
char2ShortEntrySet, comparator, entrySet, firstCharKey, firstKey, headMap, headMap, lastCharKey, lastKey, subMap, subMap, tailMap, tailMap
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, forEach, get, getOrDefault, getOrDefault, merge, merge, mergeShort, mergeShort, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, size
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, get, put, remove
public CharSortedSet keySet()
The view is backed by the set returned by Map.entrySet()
. Note that
no attempt is made at caching the result of this method, as this would
require adding some attributes that lightweight implementations would
not need. Subclasses may easily override this policy by calling
this method and caching the result, but implementors are encouraged to
write more efficient ad-hoc implementations.
The view is backed by the sorted set returned by Map.entrySet()
. Note that
no attempt is made at caching the result of this method, as this would
require adding some attributes that lightweight implementations would
not need. Subclasses may easily override this policy by calling
this method and caching the result, but implementors are encouraged to
write more efficient ad-hoc implementations.
keySet
in interface Char2ShortMap
keySet
in interface Char2ShortSortedMap
keySet
in interface java.util.Map<java.lang.Character,java.lang.Short>
keySet
in interface java.util.SortedMap<java.lang.Character,java.lang.Short>
keySet
in class AbstractChar2ShortMap
Map.keySet()
public ShortCollection values()
The view is backed by the set returned by Map.entrySet()
. Note that
no attempt is made at caching the result of this method, as this would
require adding some attributes that lightweight implementations would
not need. Subclasses may easily override this policy by calling
this method and caching the result, but implementors are encouraged to
write more efficient ad-hoc implementations.
The view is backed by the sorted set returned by Map.entrySet()
. Note that
no attempt is made at caching the result of this method, as this would
require adding some attributes that lightweight implementations would
not need. Subclasses may easily override this policy by calling
this method and caching the result, but implementors are encouraged to
write more efficient ad-hoc implementations.
values
in interface Char2ShortMap
values
in interface Char2ShortSortedMap
values
in interface java.util.Map<java.lang.Character,java.lang.Short>
values
in interface java.util.SortedMap<java.lang.Character,java.lang.Short>
values
in class AbstractChar2ShortMap
Map.values()