public static class Geometry.DoublePair
extends java.lang.Object
DoublePair is a simple immutable type representing
a pair of doubles.| Constructor and Description |
|---|
DoublePair(double both)
Creates a DoublePair with
d1 and
d2 both set to the given argument |
DoublePair(double d1,
double d2)
Creates a DoublePair with
d1 and
d2 as given |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areFinite() |
boolean |
equals(Geometry.DoublePair p) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public DoublePair(double d1,
double d2)
d1 and
d2 as givenpublic 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