Package it.unimi.dsi.fastutil.doubles
Interface DoubleDoubleSortedPair
-
- All Superinterfaces:
DoubleDoublePair,Pair<Double,Double>,Serializable,SortedPair<Double>
- All Known Implementing Classes:
DoubleDoubleImmutableSortedPair
public interface DoubleDoubleSortedPair extends DoubleDoublePair, SortedPair<Double>, Serializable
A type-specific immutableSortedPair.
-
-
Method Summary
Static Methods Modifier and Type Method Description static DoubleDoubleSortedPairof(double left, double right)Returns a new type-specific immutableSortedPairwith given left and right value.-
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleDoublePair
first, first, first, firstDouble, key, key, key, keyDouble, left, left, left, leftDouble, right, right, right, rightDouble, second, second, second, secondDouble, value, value, value, valueDouble
-
-
-
-
Method Detail
-
of
static DoubleDoubleSortedPair of(double left, double right)
Returns a new type-specific immutableSortedPairwith given left and right value.Note that if
leftandrightare 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.
-
-