public interface DoubleDoubleSortedPair extends DoubleDoublePair, it.unimi.dsi.fastutil.SortedPair<java.lang.Double>, java.io.Serializable
SortedPair.| Modifier and Type | Method and Description |
|---|---|
default boolean |
contains(double e)
Returns true if one of the two elements of this sorted pair is equal to a given element.
|
default boolean |
contains(java.lang.Object o)
Deprecated.
Please use the corresponding type-specific method instead.
|
static DoubleDoubleSortedPair |
of(double left,
double right)
Returns a new type-specific immutable
SortedPair with given left and right value. |
first, first, first, firstDouble, key, key, key, keyDouble, left, left, left, leftDouble, lexComparator, right, right, right, rightDouble, second, second, second, secondDouble, value, value, value, valueDoublestatic DoubleDoubleSortedPair of(double left, double right)
SortedPair with given left and right value.
Note that if left and right are in the wrong order, they will be exchanged.
of in interface DoubleDoublePairof in interface it.unimi.dsi.fastutil.Pair<java.lang.Double,java.lang.Double>of in interface it.unimi.dsi.fastutil.SortedPair<java.lang.Double>left - the left value.right - the right value.default boolean contains(double e)
e - an element.e.SortedPair.contains(Object)@Deprecated default boolean contains(java.lang.Object o)
contains in interface it.unimi.dsi.fastutil.SortedPair<java.lang.Double>