public abstract class AbstractShort2BooleanSortedMap extends AbstractShort2BooleanMap implements Short2BooleanSortedMap
AbstractShort2BooleanMap.BasicEntry, AbstractShort2BooleanMap.BasicEntrySet
Short2BooleanSortedMap.FastSortedEntrySet
Short2BooleanMap.Entry, Short2BooleanMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ShortSortedSet |
keySet()
Returns a type-specific-set view of the keys of this map.
|
BooleanCollection |
values()
Returns a type-specific-set view of the values of this map.
|
containsKey, containsValue, equals, hashCode, isEmpty, putAll, toString
defaultReturnValue, defaultReturnValue
comparator, entrySet, firstKey, firstShortKey, headMap, headMap, lastKey, lastShortKey, short2BooleanEntrySet, subMap, subMap, tailMap, tailMap
clear, compute, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, forEach, get, getOrDefault, getOrDefault, merge, put, putIfAbsent, remove, remove, replace, replace, size
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, get, put, remove, test
public ShortSortedSet 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 Short2BooleanMap
keySet
in interface Short2BooleanSortedMap
keySet
in interface java.util.Map<java.lang.Short,java.lang.Boolean>
keySet
in interface java.util.SortedMap<java.lang.Short,java.lang.Boolean>
keySet
in class AbstractShort2BooleanMap
Map.keySet()
public BooleanCollection 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 Short2BooleanMap
values
in interface Short2BooleanSortedMap
values
in interface java.util.Map<java.lang.Short,java.lang.Boolean>
values
in interface java.util.SortedMap<java.lang.Short,java.lang.Boolean>
values
in class AbstractShort2BooleanMap
Map.values()