package cse1030.test2; import cse1030.drawing.Point2D; /** * A class for finding two dimensional points that are strictly to the left of a * point. * * @author CSE1030_F13_14 * */ public class PointLeftOf extends PointMatcher { /** * Your fields should go here if you need them. */ /** * Creates an object that matches all points that are strictly to the left of * p. * * @param p * all points to the left of p will be matched by this * matcher */ public PointLeftOf(Point2D p) { } /** * Checks whether or not the given point other is strictly to the * left of the point held by this object. The result is true if * the x coordinate of other is less than the * x coordinate of the point held by this object, and * false otherwise. * * @param other * the point to check for a match * @return true if other is strictly to the left of * the point held by this matcher * @see cse1030.test2.PointMatcher#matches(cse1030.drawing.Point2D) */ @Override public boolean matches(Point2D other) { } }