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