public Coordinate(Coordinate clone) {
   this.x = clone.getX();
   this.y = clone.getY();
 }
 /**
  * @param c The {@link Coordinate} to compare to
  * @return {@code true} if c's x and y match this Coordinate's x and y, {@code false} otherwise
  */
 public boolean matchesCoordinate(Coordinate c) {
   return (x == c.getX() && y == c.getY());
 }
 public void setAll(Coordinate c) {
   x = c.getX();
   y = c.getY();
 }