public abstract class AbstractInt2LongSortedMap extends AbstractInt2LongMap implements Int2LongSortedMap
AbstractInt2LongMap.BasicEntryInt2LongSortedMap.FastSortedEntrySetInt2LongMap.Entry, Int2LongMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Integer,Long>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Integer |
firstKey()
Delegates to the corresponding type-specific method.
|
Int2LongSortedMap |
headMap(Integer to)
Delegates to the corresponding type-specific method.
|
IntSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Integer |
lastKey()
Delegates to the corresponding type-specific method.
|
Int2LongSortedMap |
subMap(Integer from,
Integer to)
Delegates to the corresponding type-specific method.
|
Int2LongSortedMap |
tailMap(Integer 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, firstIntKey, headMap, int2LongEntrySet, lastIntKey, 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 Int2LongSortedMap headMap(Integer to)
headMap in interface Int2LongSortedMapheadMap in interface SortedMap<Integer,Long>SortedMap.headMap(Object)public Int2LongSortedMap tailMap(Integer from)
tailMap in interface Int2LongSortedMaptailMap in interface SortedMap<Integer,Long>SortedMap.tailMap(Object)public Int2LongSortedMap subMap(Integer from, Integer to)
subMap in interface Int2LongSortedMapsubMap in interface SortedMap<Integer,Long>SortedMap.subMap(Object,Object)public Integer firstKey()
public Integer lastKey()
public IntSortedSet 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 Int2LongMapkeySet in interface Int2LongSortedMapkeySet in interface Map<Integer,Long>keySet in interface SortedMap<Integer,Long>keySet in class AbstractInt2LongMapMap.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 Int2LongMapvalues in interface Int2LongSortedMapvalues in interface Map<Integer,Long>values in interface SortedMap<Integer,Long>values in class AbstractInt2LongMapMap.values()public ObjectSortedSet<Map.Entry<Integer,Long>> entrySet()
Int2LongMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Int2LongMapentrySet in interface Int2LongSortedMapentrySet in interface Map<Integer,Long>entrySet in interface SortedMap<Integer,Long>entrySet in class AbstractInt2LongMapMap.entrySet()