import java.util.Comparator; /* An instance of this class is a comparator that defines an ordering on ** instances of the PointIn2Space class. Specifically, it says that a ** point P is "less than" point Q iff P is closer to the origin than Q. */ public class DistToOrigComparator implements Comparator { public int compare(PointIn2Space p1, PointIn2Space p2) { return 0; // STUB! } }