public abstract class AbstractInt2LongSortedMap extends AbstractInt2LongMap implements Int2LongSortedMap
AbstractInt2LongMap.BasicEntry
Int2LongSortedMap.FastSortedEntrySet
Int2LongMap.Entry, Int2LongMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<java.util.Map.Entry<java.lang.Integer,java.lang.Long>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
java.lang.Integer |
firstKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2LongSortedMap |
headMap(java.lang.Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
IntSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
java.lang.Integer |
lastKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2LongSortedMap |
subMap(java.lang.Integer from,
java.lang.Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2LongSortedMap |
tailMap(java.lang.Integer from)
Deprecated.
Please use the corresponding type-specific method instead.
|
LongCollection |
values()
Returns a type-specific collection view of the values contained in this map.
|
containsKey, containsValue, containsValue, equals, hashCode, isEmpty, putAll, toString
clear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, remove
comparator, firstIntKey, headMap, int2LongEntrySet, lastIntKey, subMap, tailMap
containsValue
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
@Deprecated public Int2LongSortedMap headMap(java.lang.Integer to)
headMap
in interface Int2LongSortedMap
headMap
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
SortedMap.headMap(Object)
@Deprecated public Int2LongSortedMap tailMap(java.lang.Integer from)
tailMap
in interface Int2LongSortedMap
tailMap
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
SortedMap.tailMap(Object)
@Deprecated public Int2LongSortedMap subMap(java.lang.Integer from, java.lang.Integer to)
subMap
in interface Int2LongSortedMap
subMap
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
SortedMap.subMap(Object,Object)
@Deprecated public java.lang.Integer firstKey()
firstKey
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
@Deprecated public java.lang.Integer lastKey()
lastKey
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
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 Int2LongMap
keySet
in interface Int2LongSortedMap
keySet
in interface java.util.Map<java.lang.Integer,java.lang.Long>
keySet
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
keySet
in class AbstractInt2LongMap
Map.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 Int2LongMap
values
in interface Int2LongSortedMap
values
in interface java.util.Map<java.lang.Integer,java.lang.Long>
values
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
values
in class AbstractInt2LongMap
Map.values()
public ObjectSortedSet<java.util.Map.Entry<java.lang.Integer,java.lang.Long>> entrySet()
Int2LongMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Int2LongMap
entrySet
in interface Int2LongSortedMap
entrySet
in interface java.util.Map<java.lang.Integer,java.lang.Long>
entrySet
in interface java.util.SortedMap<java.lang.Integer,java.lang.Long>
entrySet
in class AbstractInt2LongMap
Map.entrySet()