public abstract class AbstractShort2LongSortedMap extends AbstractShort2LongMap implements Short2LongSortedMap
AbstractShort2LongMap.BasicEntryShort2LongSortedMap.FastSortedEntrySetShort2LongMap.Entry, Short2LongMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Short,Long>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Short |
firstKey()
Delegates to the corresponding type-specific method.
|
Short2LongSortedMap |
headMap(Short to)
Delegates to the corresponding type-specific method.
|
ShortSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Short |
lastKey()
Delegates to the corresponding type-specific method.
|
Short2LongSortedMap |
subMap(Short from,
Short to)
Delegates to the corresponding type-specific method.
|
Short2LongSortedMap |
tailMap(Short from)
Delegates to the corresponding type-specific method.
|
LongCollection |
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, removecomparator, firstShortKey, headMap, lastShortKey, short2LongEntrySet, subMap, tailMapcontainsValuecontainsKey, 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 Short2LongSortedMap headMap(Short to)
headMap in interface Short2LongSortedMapheadMap in interface SortedMap<Short,Long>SortedMap.headMap(Object)public Short2LongSortedMap tailMap(Short from)
tailMap in interface Short2LongSortedMaptailMap in interface SortedMap<Short,Long>SortedMap.tailMap(Object)public Short2LongSortedMap subMap(Short from, Short to)
subMap in interface Short2LongSortedMapsubMap in interface SortedMap<Short,Long>SortedMap.subMap(Object,Object)public Short firstKey()
public Short lastKey()
public ShortSortedSet 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 Short2LongMapkeySet in interface Short2LongSortedMapkeySet in interface Map<Short,Long>keySet in interface SortedMap<Short,Long>keySet in class AbstractShort2LongMapMap.keySet()public LongCollection 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 Short2LongMapvalues in interface Short2LongSortedMapvalues in interface Map<Short,Long>values in interface SortedMap<Short,Long>values in class AbstractShort2LongMapMap.values()public ObjectSortedSet<Map.Entry<Short,Long>> entrySet()
Short2LongMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Short2LongMapentrySet in interface Short2LongSortedMapentrySet in interface Map<Short,Long>entrySet in interface SortedMap<Short,Long>entrySet in class AbstractShort2LongMapMap.entrySet()