Function<java.lang.Integer,V>, Int2ObjectFunction<V>, Int2ObjectMap<V>, Int2ObjectSortedMap<V>, java.io.Serializable, java.util.function.Function<java.lang.Integer,V>, java.util.function.IntFunction<V>, java.util.Map<java.lang.Integer,V>, java.util.SortedMap<java.lang.Integer,V>Int2ObjectAVLTreeMap, Int2ObjectLinkedOpenHashMap, Int2ObjectRBTreeMappublic abstract class AbstractInt2ObjectSortedMap<V> extends AbstractInt2ObjectMap<V> implements Int2ObjectSortedMap<V>
AbstractInt2ObjectMap.BasicEntry<V>, AbstractInt2ObjectMap.BasicEntrySet<V>Int2ObjectMap.Entry<V>, Int2ObjectMap.FastEntrySet<V>Int2ObjectSortedMap.FastSortedEntrySet<V>| Modifier and Type | Method | Description |
|---|---|---|
IntSortedSet |
keySet() |
Returns a type-specific-set view of the keys of this map.
|
ObjectCollection<V> |
values() |
Returns a type-specific-set view of the values of this map.
|
defaultReturnValue, defaultReturnValuecontainsKey, containsValue, equals, hashCode, isEmpty, putAll, toStringapply, get, put, removeclear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsKey, defaultReturnValue, defaultReturnValue, get, getOrDefault, getOrDefault, merge, merge, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, sizecomparator, entrySet, firstIntKey, firstKey, headMap, headMap, int2ObjectEntrySet, lastIntKey, lastKey, subMap, subMap, tailMap, tailMappublic IntSortedSet 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 Int2ObjectMap<V>keySet in interface Int2ObjectSortedMap<V>keySet in interface java.util.Map<java.lang.Integer,V>keySet in interface java.util.SortedMap<java.lang.Integer,V>keySet in class AbstractInt2ObjectMap<V>Map.keySet()public ObjectCollection<V> 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 Int2ObjectMap<V>values in interface Int2ObjectSortedMap<V>values in interface java.util.Map<java.lang.Integer,V>values in interface java.util.SortedMap<java.lang.Integer,V>values in class AbstractInt2ObjectMap<V>Map.values()