public abstract class AbstractInt2DoubleSortedMap extends AbstractInt2DoubleMap implements Int2DoubleSortedMap
AbstractInt2DoubleMap.BasicEntry
Int2DoubleSortedMap.FastSortedEntrySet
Int2DoubleMap.Entry, Int2DoubleMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<Map.Entry<Integer,Double>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Integer |
firstKey()
Delegates to the corresponding type-specific method.
|
Int2DoubleSortedMap |
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.
|
Int2DoubleSortedMap |
subMap(Integer from,
Integer to)
Delegates to the corresponding type-specific method.
|
Int2DoubleSortedMap |
tailMap(Integer from)
Delegates to the corresponding type-specific method.
|
DoubleCollection |
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, int2DoubleEntrySet, lastIntKey, subMap, tailMap
containsValue
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
public Int2DoubleSortedMap headMap(Integer to)
headMap
in interface Int2DoubleSortedMap
headMap
in interface SortedMap<Integer,Double>
SortedMap.headMap(Object)
public Int2DoubleSortedMap tailMap(Integer from)
tailMap
in interface Int2DoubleSortedMap
tailMap
in interface SortedMap<Integer,Double>
SortedMap.tailMap(Object)
public Int2DoubleSortedMap subMap(Integer from, Integer to)
subMap
in interface Int2DoubleSortedMap
subMap
in interface SortedMap<Integer,Double>
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 Int2DoubleMap
keySet
in interface Int2DoubleSortedMap
keySet
in interface Map<Integer,Double>
keySet
in interface SortedMap<Integer,Double>
keySet
in class AbstractInt2DoubleMap
Map.keySet()
public DoubleCollection 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 Int2DoubleMap
values
in interface Int2DoubleSortedMap
values
in interface Map<Integer,Double>
values
in interface SortedMap<Integer,Double>
values
in class AbstractInt2DoubleMap
Map.values()
public ObjectSortedSet<Map.Entry<Integer,Double>> entrySet()
Int2DoubleMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Int2DoubleMap
entrySet
in interface Int2DoubleSortedMap
entrySet
in interface Map<Integer,Double>
entrySet
in interface SortedMap<Integer,Double>
entrySet
in class AbstractInt2DoubleMap
Map.entrySet()