public abstract class AbstractLong2IntSortedMap extends AbstractLong2IntMap implements Long2IntSortedMap
AbstractLong2IntMap.BasicEntry, AbstractLong2IntMap.BasicEntrySet
Long2IntSortedMap.FastSortedEntrySet
Long2IntMap.Entry, Long2IntMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
LongSortedSet |
keySet()
Returns a type-specific-set view of the keys of this map.
|
IntCollection |
values()
Returns a type-specific-set view of the values of this map.
|
containsKey, containsValue, equals, hashCode, isEmpty, mergeInt, putAll, toString
defaultReturnValue, defaultReturnValue
comparator, entrySet, firstKey, firstLongKey, headMap, headMap, lastKey, lastLongKey, long2IntEntrySet, 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, mergeInt, mergeInt, 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 LongSortedSet 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 Long2IntMap
keySet
in interface Long2IntSortedMap
keySet
in interface java.util.Map<java.lang.Long,java.lang.Integer>
keySet
in interface java.util.SortedMap<java.lang.Long,java.lang.Integer>
keySet
in class AbstractLong2IntMap
Map.keySet()
public IntCollection 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 Long2IntMap
values
in interface Long2IntSortedMap
values
in interface java.util.Map<java.lang.Long,java.lang.Integer>
values
in interface java.util.SortedMap<java.lang.Long,java.lang.Integer>
values
in class AbstractLong2IntMap
Map.values()