@Override
  public boolean equals(Object o) {
    if (!(o instanceof Point)) {
      return false;
    }

    Point other = (Point) o;
    return other.x == x && other.y == y;
  }
A copy of java.awt.Point, to remove dependency on awt.
selendroid-server/src/main/java/io/selendroid/server/android/internal/Point.java