public abstract class AbstractChar2ShortSortedMap extends AbstractChar2ShortMap implements Char2ShortSortedMap
AbstractChar2ShortMap.BasicEntryChar2ShortSortedMap.FastSortedEntrySetChar2ShortMap.Entry, Char2ShortMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Character,Short>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Character |
firstKey()
Delegates to the corresponding type-specific method.
|
Char2ShortSortedMap |
headMap(Character to)
Delegates to the corresponding type-specific method.
|
CharSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Character |
lastKey()
Delegates to the corresponding type-specific method.
|
Char2ShortSortedMap |
subMap(Character from,
Character to)
Delegates to the corresponding type-specific method.
|
Char2ShortSortedMap |
tailMap(Character from)
Delegates to the corresponding type-specific method.
|
ShortCollection |
values()
Returns a type-specific collection view of the values contained in this map.
|
containsKey, containsValue, containsValue, equals, hashCode, isEmpty, putAll, toStringclear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, removechar2ShortEntrySet, comparator, firstCharKey, headMap, lastCharKey, subMap, tailMapcontainsValuecontainsKey, defaultReturnValue, defaultReturnValue, get, put, removepublic Char2ShortSortedMap headMap(Character to)
headMap in interface Char2ShortSortedMapheadMap in interface SortedMap<Character,Short>SortedMap.headMap(Object)public Char2ShortSortedMap tailMap(Character from)
tailMap in interface Char2ShortSortedMaptailMap in interface SortedMap<Character,Short>SortedMap.tailMap(Object)public Char2ShortSortedMap subMap(Character from, Character to)
subMap in interface Char2ShortSortedMapsubMap in interface SortedMap<Character,Short>SortedMap.subMap(Object,Object)public Character firstKey()
public Character lastKey()
public CharSortedSet keySet()
The view is backed by the sorted set returned by 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 Char2ShortMapkeySet in interface Char2ShortSortedMapkeySet in interface Map<Character,Short>keySet in interface SortedMap<Character,Short>keySet in class AbstractChar2ShortMapMap.keySet()public ShortCollection values()
The view is backed by the sorted set returned by 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 Char2ShortMapvalues in interface Char2ShortSortedMapvalues in interface Map<Character,Short>values in interface SortedMap<Character,Short>values in class AbstractChar2ShortMapMap.values()public ObjectSortedSet<Map.Entry<Character,Short>> entrySet()
Char2ShortMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Char2ShortMapentrySet in interface Char2ShortSortedMapentrySet in interface Map<Character,Short>entrySet in interface SortedMap<Character,Short>entrySet in class AbstractChar2ShortMapMap.entrySet()