Class Double2ByteSortedMaps.SynchronizedSortedMap
- All Implemented Interfaces:
Double2ByteFunction,Double2ByteMap,Double2ByteSortedMap,Function<Double,Byte>,Serializable,DoubleToIntFunction,Function<Double,Byte>,Map<Double,Byte>,SortedMap<Double,Byte>
- Enclosing class:
- Double2ByteSortedMaps
public static class Double2ByteSortedMaps.SynchronizedSortedMap extends Double2ByteMaps.SynchronizedMap implements Double2ByteSortedMap, Serializable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.doubles.Double2ByteMap
Double2ByteMap.Entry, Double2ByteMap.FastEntrySetNested classes/interfaces inherited from interface it.unimi.dsi.fastutil.doubles.Double2ByteSortedMap
Double2ByteSortedMap.FastSortedEntrySet -
Method Summary
Modifier and Type Method Description DoubleComparatorcomparator()Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.ObjectSortedSet<Double2ByteMap.Entry>double2ByteEntrySet()Returns a type-specific set view of the mappings contained in this map.ObjectSortedSet<Map.Entry<Double,Byte>>entrySet()Deprecated.Please use the corresponding type-specific method instead.doublefirstDoubleKey()Returns the first (lowest) key currently in this map.DoublefirstKey()Deprecated.Please use the corresponding type-specific method instead.Double2ByteSortedMapheadMap(double to)Returns a view of the portion of this sorted map whose keys are strictly less thantoKey.Double2ByteSortedMapheadMap(Double to)Deprecated.Please use the corresponding type-specific method instead.DoubleSortedSetkeySet()doublelastDoubleKey()Returns the last (highest) key currently in this map.DoublelastKey()Deprecated.Please use the corresponding type-specific method instead.Double2ByteSortedMapsubMap(double from, double to)Returns a view of the portion of this sorted map whose keys range fromfromKey, inclusive, totoKey, exclusive.Double2ByteSortedMapsubMap(Double from, Double to)Deprecated.Please use the corresponding type-specific method instead.Double2ByteSortedMaptailMap(double from)Returns a view of the portion of this sorted map whose keys are greater than or equal tofromKey.Double2ByteSortedMaptailMap(Double from)Deprecated.Please use the corresponding type-specific method instead.Methods inherited from class it.unimi.dsi.fastutil.doubles.Double2ByteMaps.SynchronizedMap
compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsValue, containsValue, equals, forEach, getOrDefault, getOrDefault, hashCode, isEmpty, merge, merge, putAll, putIfAbsent, putIfAbsent, remove, remove, replace, replace, replace, replace, replaceAll, valuesMethods inherited from class it.unimi.dsi.fastutil.doubles.Double2ByteFunctions.SynchronizedFunction
apply, applyAsInt, clear, containsKey, containsKey, defaultReturnValue, defaultReturnValue, get, get, put, put, remove, remove, size, toStringMethods inherited from interface it.unimi.dsi.fastutil.doubles.Double2ByteFunction
applyAsInt, get, put, removeMethods inherited from interface it.unimi.dsi.fastutil.doubles.Double2ByteMap
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, get, getOrDefault, getOrDefault, merge, merge, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, size
-
Method Details
-
comparator
Description copied from interface:Double2ByteSortedMapReturns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.Note that this specification strengthens the one given in
SortedMap.comparator().- Specified by:
comparatorin interfaceDouble2ByteSortedMap- Specified by:
comparatorin interfaceSortedMap<Double,Byte>- See Also:
SortedMap.comparator()
-
double2ByteEntrySet
Description copied from interface:Double2ByteMapReturns a type-specific set view of the mappings contained in this map.This method is necessary because there is no inheritance along type parameters: it is thus impossible to strengthen
Map.entrySet()so that it returns anObjectSetof type-specific entries (the latter makes it possible to access keys and values with type-specific methods).- Specified by:
double2ByteEntrySetin interfaceDouble2ByteMap- Specified by:
double2ByteEntrySetin interfaceDouble2ByteSortedMap- Overrides:
double2ByteEntrySetin classDouble2ByteMaps.SynchronizedMap- Returns:
- a type-specific set view of the mappings contained in this map.
- See Also:
Map.entrySet()
-
entrySet
Deprecated.Please use the corresponding type-specific method instead.Returns a set view of the mappings contained in this map.Note that this specification strengthens the one given in
Map.entrySet().- Specified by:
entrySetin interfaceDouble2ByteMap- Specified by:
entrySetin interfaceDouble2ByteSortedMap- Specified by:
entrySetin interfaceMap<Double,Byte>- Specified by:
entrySetin interfaceSortedMap<Double,Byte>- Overrides:
entrySetin classDouble2ByteMaps.SynchronizedMap- Returns:
- a set view of the mappings contained in this map.
- See Also:
Map.entrySet()
-
keySet
Description copied from interface:Double2ByteMapNote that this specification strengthens the one given in
Map.keySet().- Specified by:
keySetin interfaceDouble2ByteMap- Specified by:
keySetin interfaceDouble2ByteSortedMap- Specified by:
keySetin interfaceMap<Double,Byte>- Specified by:
keySetin interfaceSortedMap<Double,Byte>- Overrides:
keySetin classDouble2ByteMaps.SynchronizedMap- Returns:
- a set view of the keys contained in this map.
- See Also:
Map.keySet()
-
subMap
Description copied from interface:Double2ByteSortedMapReturns a view of the portion of this sorted map whose keys range fromfromKey, inclusive, totoKey, exclusive.Note that this specification strengthens the one given in
SortedMap.subMap(Object,Object).- Specified by:
subMapin interfaceDouble2ByteSortedMap- See Also:
SortedMap.subMap(Object,Object)
-
headMap
Description copied from interface:Double2ByteSortedMapReturns a view of the portion of this sorted map whose keys are strictly less thantoKey.Note that this specification strengthens the one given in
SortedMap.headMap(Object).- Specified by:
headMapin interfaceDouble2ByteSortedMap- See Also:
SortedMap.headMap(Object)
-
tailMap
Description copied from interface:Double2ByteSortedMapReturns a view of the portion of this sorted map whose keys are greater than or equal tofromKey.Note that this specification strengthens the one given in
SortedMap.tailMap(Object).- Specified by:
tailMapin interfaceDouble2ByteSortedMap- See Also:
SortedMap.tailMap(Object)
-
firstDoubleKey
public double firstDoubleKey()Description copied from interface:Double2ByteSortedMapReturns the first (lowest) key currently in this map.- Specified by:
firstDoubleKeyin interfaceDouble2ByteSortedMap- See Also:
SortedMap.firstKey()
-
lastDoubleKey
public double lastDoubleKey()Description copied from interface:Double2ByteSortedMapReturns the last (highest) key currently in this map.- Specified by:
lastDoubleKeyin interfaceDouble2ByteSortedMap- See Also:
SortedMap.lastKey()
-
firstKey
Deprecated.Please use the corresponding type-specific method instead. -
lastKey
Deprecated.Please use the corresponding type-specific method instead. -
subMap
Deprecated.Please use the corresponding type-specific method instead.Note that this specification strengthens the one given in
SortedMap.subMap(Object,Object). -
headMap
Deprecated.Please use the corresponding type-specific method instead.Note that this specification strengthens the one given in
SortedMap.headMap(Object). -
tailMap
Deprecated.Please use the corresponding type-specific method instead.Note that this specification strengthens the one given in
SortedMap.tailMap(Object).
-