public static class Geometry.DoublePair
extends java.lang.Object
DoublePair is a simple immutable record type representing
a pair of doubles.| Constructor and Description |
|---|
Geometry.DoublePair(double both)
Creates a DoublePair with
d1 and
d2 both set to the given argument |
Geometry.DoublePair(double d1,
double d2)
Creates a DoublePair with
d1 and
d2 as given |
public Geometry.DoublePair(double d1,
double d2)
d1 and
d2 as givenpublic Geometry.DoublePair(double both)
d1 and
d2 both set to the given argumentpublic boolean areFinite()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean equals(Geometry.DoublePair p)
public int hashCode()
hashCode in class java.lang.Object