public abstract class AbstractDouble2LongSortedMap extends AbstractDouble2LongMap implements Double2LongSortedMap
AbstractDouble2LongMap.BasicEntryDouble2LongSortedMap.FastSortedEntrySetDouble2LongMap.Entry, Double2LongMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSortedSet<Map.Entry<Double,Long>> |
entrySet()
Returns a set view of the mappings contained in this map.
|
Double |
firstKey()
Delegates to the corresponding type-specific method.
|
Double2LongSortedMap |
headMap(Double to)
Delegates to the corresponding type-specific method.
|
DoubleSortedSet |
keySet()
Returns a type-specific-sorted-set view of the keys of this map.
|
Double |
lastKey()
Delegates to the corresponding type-specific method.
|
Double2LongSortedMap |
subMap(Double from,
Double to)
Delegates to the corresponding type-specific method.
|
Double2LongSortedMap |
tailMap(Double from)
Delegates to the corresponding type-specific method.
|
LongCollection |
values()
Returns a type-specific collection view of the values contained in this map.
|
containsKey, containsValue, containsValue, equals, hashCode, isEmpty, putAll, toStringclear, containsKey, defaultReturnValue, defaultReturnValue, get, put, put, remove, removecomparator, double2LongEntrySet, firstDoubleKey, headMap, lastDoubleKey, subMap, tailMapcontainsValuecontainsKey, defaultReturnValue, defaultReturnValue, get, put, removeclear, containsKey, get, put, remove, sizeclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic Double2LongSortedMap headMap(Double to)
headMap in interface Double2LongSortedMapheadMap in interface SortedMap<Double,Long>SortedMap.headMap(Object)public Double2LongSortedMap tailMap(Double from)
tailMap in interface Double2LongSortedMaptailMap in interface SortedMap<Double,Long>SortedMap.tailMap(Object)public Double2LongSortedMap subMap(Double from, Double to)
subMap in interface Double2LongSortedMapsubMap in interface SortedMap<Double,Long>SortedMap.subMap(Object,Object)public Double firstKey()
public Double lastKey()
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 Double2LongMapkeySet in interface Double2LongSortedMapkeySet in interface Map<Double,Long>keySet in interface SortedMap<Double,Long>keySet in class AbstractDouble2LongMapMap.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 Double2LongMapvalues in interface Double2LongSortedMapvalues in interface Map<Double,Long>values in interface SortedMap<Double,Long>values in class AbstractDouble2LongMapMap.values()public ObjectSortedSet<Map.Entry<Double,Long>> entrySet()
Double2LongMapNote that this specification strengthens the one given in Map.entrySet().
entrySet in interface Double2LongMapentrySet in interface Double2LongSortedMapentrySet in interface Map<Double,Long>entrySet in interface SortedMap<Double,Long>entrySet in class AbstractDouble2LongMapMap.entrySet()