public abstract class AbstractInt2IntSortedMap extends AbstractInt2IntMap implements Int2IntSortedMap
AbstractInt2IntMap.BasicEntry
Int2IntSortedMap.FastSortedEntrySet
Int2IntMap.Entry, Int2IntMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<java.util.Map.Entry<java.lang.Integer,java.lang.Integer>> |
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.
|
Int2IntSortedMap |
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.
|
Int2IntSortedMap |
subMap(java.lang.Integer from,
java.lang.Integer to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Int2IntSortedMap |
tailMap(java.lang.Integer from)
Deprecated.
Please use the corresponding type-specific method instead.
|
IntCollection |
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, int2IntEntrySet, lastIntKey, subMap, tailMap
containsValue
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
@Deprecated public Int2IntSortedMap headMap(java.lang.Integer to)
headMap
in interface Int2IntSortedMap
headMap
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
SortedMap.headMap(Object)
@Deprecated public Int2IntSortedMap tailMap(java.lang.Integer from)
tailMap
in interface Int2IntSortedMap
tailMap
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
SortedMap.tailMap(Object)
@Deprecated public Int2IntSortedMap subMap(java.lang.Integer from, java.lang.Integer to)
subMap
in interface Int2IntSortedMap
subMap
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
SortedMap.subMap(Object,Object)
@Deprecated public java.lang.Integer firstKey()
firstKey
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
@Deprecated public java.lang.Integer lastKey()
lastKey
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
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 Int2IntMap
keySet
in interface Int2IntSortedMap
keySet
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
keySet
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
keySet
in class AbstractInt2IntMap
Map.keySet()
public IntCollection 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 Int2IntMap
values
in interface Int2IntSortedMap
values
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
values
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
values
in class AbstractInt2IntMap
Map.values()
public ObjectSortedSet<java.util.Map.Entry<java.lang.Integer,java.lang.Integer>> entrySet()
Int2IntMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Int2IntMap
entrySet
in interface Int2IntSortedMap
entrySet
in interface java.util.Map<java.lang.Integer,java.lang.Integer>
entrySet
in interface java.util.SortedMap<java.lang.Integer,java.lang.Integer>
entrySet
in class AbstractInt2IntMap
Map.entrySet()