@Test public void offsetPointDoesNotChangeOriginalPoint() { Point originalPoint = new Point(0, 0); Geometry.offset(new Point(1, 2), originalPoint); assertEquals(0, originalPoint.x); assertEquals(0, originalPoint.y); }
public static Point offset(int amount, Point point) { return offset(new Point(amount, amount), point); }
Geometry { public static Point offset(int amount, Point point) { return offset(new Point(amount, amount), point); } }
Geometry { public static Point offset(int amount, Point point) { return offset(new Point(amount, amount), point); }  }
Geometry { public static Point offset(int amount, Point point) { return offset(new Point(amount, amount), point); }  static Dimension increase(int amount, Dimension dimension); static Point offset(int amount, Point point); static Point offset(Point offset, Point point); static Point opposite(Point point); }
Geometry { public static Point offset(int amount, Point point) { return offset(new Point(amount, amount), point); }  static Dimension increase(int amount, Dimension dimension); static Point offset(int amount, Point point); static Point offset(Point offset, Point point); static Point opposite(Point point);  }