package causation.lab; import java.awt.Point; /** *
* This class simply encodes an ordered pair of Points. Note that the
* from
and to
Points are public.
*
from
set to p1
,
* and to
set to p2
.
* @param p1 The from
Point
* @param p2 The to
Point
*/
public PointPair(Point p1, Point p2) {
this.from = p1;
this.to = p2;
}
}