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