Package it.unimi.dsi.fastutil.floats
Interface FloatFloatSortedPair
-
- All Superinterfaces:
FloatFloatPair
,Pair<Float,Float>
,Serializable
,SortedPair<Float>
- All Known Implementing Classes:
FloatFloatImmutableSortedPair
public interface FloatFloatSortedPair extends FloatFloatPair, SortedPair<Float>, Serializable
A type-specific immutableSortedPair
.
-
-
Method Summary
Static Methods Modifier and Type Method Description static FloatFloatSortedPair
of(float left, float right)
Returns a new type-specific immutableSortedPair
with given left and right value.-
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatFloatPair
first, first, first, firstFloat, key, key, key, keyFloat, left, left, left, leftFloat, right, right, right, rightFloat, second, second, second, secondFloat, value, value, value, valueFloat
-
-
-
-
Method Detail
-
of
static FloatFloatSortedPair of(float left, float right)
Returns a new type-specific immutableSortedPair
with given left and right value.Note that if
left
andright
are in the wrong order, they will be exchanged.- Parameters:
left
- the left value.right
- the right value.- Implementation Notes:
- This factory method delegates to the factory method of the corresponding immutable implementation.
-
-