Package it.unimi.dsi.fastutil.floats
Interface Float2DoubleSortedMap
- All Superinterfaces:
DoubleUnaryOperator,it.unimi.dsi.fastutil.floats.Float2DoubleFunction,Float2DoubleMap,it.unimi.dsi.fastutil.Function<Float,,Double> Function<Float,,Double> Map<Float,,Double> SequencedMap<Float,,Double> SortedMap<Float,Double>
- All Known Implementing Classes:
AbstractFloat2DoubleSortedMap,Float2DoubleAVLTreeMap,Float2DoubleLinkedOpenHashMap,Float2DoubleRBTreeMap,Float2DoubleSortedMaps.EmptySortedMap,Float2DoubleSortedMaps.Singleton,Float2DoubleSortedMaps.SynchronizedSortedMap,Float2DoubleSortedMaps.UnmodifiableSortedMap
A type-specific
SortedMap; provides some additional methods that use polymorphism to avoid (un)boxing.
Additionally, this interface strengthens entrySet(),
keySet(), values(),
comparator(), SortedMap.subMap(Object,Object), SortedMap.headMap(Object) and SortedMap.tailMap(Object).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA sorted entry set providing fast iteration.Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.floats.Float2DoubleMap
Float2DoubleMap.Entry, Float2DoubleMap.FastEntrySet -
Method Summary
Modifier and TypeMethodDescriptionit.unimi.dsi.fastutil.floats.FloatComparatorReturns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.entrySet()Deprecated.Please use the corresponding type-specific method instead.floatReturns the first (lowest) key currently in this map.default FloatfirstKey()Deprecated.Please use the corresponding type-specific method instead.it.unimi.dsi.fastutil.objects.ObjectSortedSet<Float2DoubleMap.Entry> Returns a type-specific sorted-set view of the mappings contained in this map.headMap(float toKey) Returns a view of the portion of this sorted map whose keys are strictly less thantoKey.default Float2DoubleSortedMapDeprecated.Please use the corresponding type-specific method instead.it.unimi.dsi.fastutil.floats.FloatSortedSetkeySet()Returns a type-specific sorted-set view of the keys contained in this map.floatReturns the last (highest) key currently in this map.default FloatlastKey()Deprecated.Please use the corresponding type-specific method instead.subMap(float fromKey, float toKey) Returns a view of the portion of this sorted map whose keys range fromfromKey, inclusive, totoKey, exclusive.default Float2DoubleSortedMapDeprecated.Please use the corresponding type-specific method instead.tailMap(float fromKey) Returns a view of the portion of this sorted map whose keys are greater than or equal tofromKey.default Float2DoubleSortedMapDeprecated.Please use the corresponding type-specific method instead.it.unimi.dsi.fastutil.doubles.DoubleCollectionvalues()Returns a type-specific set view of the values contained in this map.Methods inherited from interface java.util.function.DoubleUnaryOperator
andThen, composeMethods inherited from interface it.unimi.dsi.fastutil.floats.Float2DoubleFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsDouble, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, get, put, removeMethods inherited from interface it.unimi.dsi.fastutil.floats.Float2DoubleMap
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, defaultReturnValue, defaultReturnValue, forEach, forEach, get, getOrDefault, getOrDefault, merge, merge, mergeDouble, mergeDouble, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace, sizeMethods inherited from interface it.unimi.dsi.fastutil.Function
applyMethods inherited from interface java.util.Map
clear, containsKey, equals, get, getOrDefault, hashCode, isEmpty, put, putAll, remove, replaceAll, sizeMethods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry, sequencedEntrySet, sequencedKeySet, sequencedValues
-
Method Details
-
subMap
Returns a view of the portion of this sorted map whose keys range fromfromKey, inclusive, totoKey, exclusive.- See Also:
-
headMap
Returns a view of the portion of this sorted map whose keys are strictly less thantoKey.- See Also:
-
tailMap
Returns a view of the portion of this sorted map whose keys are greater than or equal tofromKey.- See Also:
-
firstFloatKey
float firstFloatKey()Returns the first (lowest) key currently in this map.- See Also:
-
lastFloatKey
float lastFloatKey()Returns the last (highest) key currently in this map.- See Also:
-
subMap
Deprecated.Please use the corresponding type-specific method instead. -
headMap
Deprecated.Please use the corresponding type-specific method instead. -
tailMap
Deprecated.Please use the corresponding type-specific method instead. -
firstKey
Deprecated.Please use the corresponding type-specific method instead. -
lastKey
Deprecated.Please use the corresponding type-specific method instead. -
entrySet
@Deprecated default it.unimi.dsi.fastutil.objects.ObjectSortedSet<Map.Entry<Float,Double>> entrySet()Deprecated.Please use the corresponding type-specific method instead.Returns a sorted-set view of the mappings contained in this map. -
float2DoubleEntrySet
it.unimi.dsi.fastutil.objects.ObjectSortedSet<Float2DoubleMap.Entry> float2DoubleEntrySet()Returns a type-specific sorted-set view of the mappings contained in this map.- Specified by:
float2DoubleEntrySetin interfaceFloat2DoubleMap- Returns:
- a type-specific sorted-set view of the mappings contained in this map.
- See Also:
-
keySet
it.unimi.dsi.fastutil.floats.FloatSortedSet keySet()Returns a type-specific sorted-set view of the keys contained in this map. -
values
it.unimi.dsi.fastutil.doubles.DoubleCollection values()Returns a type-specific set view of the values contained in this map. -
comparator
it.unimi.dsi.fastutil.floats.FloatComparator comparator()Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.- Specified by:
comparatorin interfaceSortedMap<Float,Double> - See Also:
-