MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / equals

Method equals

java/src/org/openqa/selenium/Point.java:45–53  ·  view source on GitHub ↗
(@Nullable Object o)

Source from the content-addressed store, hash-verified

43 }
44
45 @Override
46 public boolean equals(@Nullable Object o) {
47 if (!(o instanceof Point)) {
48 return false;
49 }
50
51 Point other = (Point) o;
52 return other.x == x && other.y == y;
53 }
54
55 @Override
56 public int hashCode() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected