public abstract class AbstractShort2ObjectSortedMap<V> extends AbstractShort2ObjectMap<V> implements Short2ObjectSortedMap<V>
AbstractShort2ObjectMap.BasicEntry<V>Short2ObjectSortedMap.FastSortedEntrySet<V>Short2ObjectMap.Entry<V>, Short2ObjectMap.FastEntrySet<V>| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Short,V>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Short |
firstKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
Short2ObjectSortedMap<V> |
headMap(Short to)
Deprecated.
Please use the corresponding type-specific method instead.
|
ShortSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Short |
lastKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
Short2ObjectSortedMap<V> |
subMap(Short from,
Short to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Short2ObjectSortedMap<V> |
tailMap(Short from)
Deprecated.
Please use the corresponding type-specific method instead.
|
ObjectCollection<V> |
values()
Returns a type-specific collection view of the values contained in this
map.
|
containsKey, containsValue, equals, hashCode, isEmpty, putAll, toStringclear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, removecomparator, firstShortKey, headMap, lastShortKey, short2ObjectEntrySet, subMap, tailMapcontainsKey, 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, size@Deprecated public Short2ObjectSortedMap<V> headMap(Short to)
headMap in interface Short2ObjectSortedMap<V>headMap in interface SortedMap<Short,V>SortedMap.headMap(Object)@Deprecated public Short2ObjectSortedMap<V> tailMap(Short from)
tailMap in interface Short2ObjectSortedMap<V>tailMap in interface SortedMap<Short,V>SortedMap.tailMap(Object)@Deprecated public Short2ObjectSortedMap<V> subMap(Short from, Short to)
subMap in interface Short2ObjectSortedMap<V>subMap in interface SortedMap<Short,V>SortedMap.subMap(Object,Object)@Deprecated public Short firstKey()
@Deprecated 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 Short2ObjectMap<V>keySet in interface Short2ObjectSortedMap<V>keySet in interface Map<Short,V>keySet in interface SortedMap<Short,V>keySet in class AbstractShort2ObjectMap<V>Map.keySet()public ObjectCollection<V> 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 Short2ObjectMap<V>values in interface Short2ObjectSortedMap<V>values in interface Map<Short,V>values in interface SortedMap<Short,V>values in class AbstractShort2ObjectMap<V>Map.values()public ObjectSortedSet<Map.Entry<Short,V>> entrySet()
Short2ObjectMap
Note that this specification strengthens the one given in
Map.entrySet().
entrySet in interface Short2ObjectMap<V>entrySet in interface Short2ObjectSortedMap<V>entrySet in interface Map<Short,V>entrySet in interface SortedMap<Short,V>entrySet in class AbstractShort2ObjectMap<V>Map.entrySet()