public abstract class AbstractDouble2IntSortedMap extends AbstractDouble2IntMap implements Double2IntSortedMap
AbstractDouble2IntMap.BasicEntry
Double2IntSortedMap.FastSortedEntrySet
Double2IntMap.Entry, Double2IntMap.FastEntrySet
Modifier and Type | Method and Description |
---|---|
ObjectSortedSet<java.util.Map.Entry<java.lang.Double,java.lang.Integer>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
java.lang.Double |
firstKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
Double2IntSortedMap |
headMap(java.lang.Double to)
Deprecated.
Please use the corresponding type-specific method instead.
|
DoubleSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
java.lang.Double |
lastKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
Double2IntSortedMap |
subMap(java.lang.Double from,
java.lang.Double to)
Deprecated.
Please use the corresponding type-specific method instead.
|
Double2IntSortedMap |
tailMap(java.lang.Double 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, double2IntEntrySet, firstDoubleKey, headMap, lastDoubleKey, subMap, tailMap
containsValue
containsKey, defaultReturnValue, defaultReturnValue, get, put, remove
@Deprecated public Double2IntSortedMap headMap(java.lang.Double to)
headMap
in interface Double2IntSortedMap
headMap
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
SortedMap.headMap(Object)
@Deprecated public Double2IntSortedMap tailMap(java.lang.Double from)
tailMap
in interface Double2IntSortedMap
tailMap
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
SortedMap.tailMap(Object)
@Deprecated public Double2IntSortedMap subMap(java.lang.Double from, java.lang.Double to)
subMap
in interface Double2IntSortedMap
subMap
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
SortedMap.subMap(Object,Object)
@Deprecated public java.lang.Double firstKey()
firstKey
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
@Deprecated public java.lang.Double lastKey()
lastKey
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
public DoubleSortedSet 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 Double2IntMap
keySet
in interface Double2IntSortedMap
keySet
in interface java.util.Map<java.lang.Double,java.lang.Integer>
keySet
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
keySet
in class AbstractDouble2IntMap
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 Double2IntMap
values
in interface Double2IntSortedMap
values
in interface java.util.Map<java.lang.Double,java.lang.Integer>
values
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
values
in class AbstractDouble2IntMap
Map.values()
public ObjectSortedSet<java.util.Map.Entry<java.lang.Double,java.lang.Integer>> entrySet()
Double2IntMap
Note that this specification strengthens the one given in Map.entrySet()
.
entrySet
in interface Double2IntMap
entrySet
in interface Double2IntSortedMap
entrySet
in interface java.util.Map<java.lang.Double,java.lang.Integer>
entrySet
in interface java.util.SortedMap<java.lang.Double,java.lang.Integer>
entrySet
in class AbstractDouble2IntMap
Map.entrySet()