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

Method equals

java/src/org/openqa/selenium/Dimension.java:41–49  ·  view source on GitHub ↗
(@Nullable Object o)

Source from the content-addressed store, hash-verified

39 }
40
41 @Override
42 public boolean equals(@Nullable Object o) {
43 if (!(o instanceof Dimension)) {
44 return false;
45 }
46
47 Dimension other = (Dimension) o;
48 return other.width == width && other.height == height;
49 }
50
51 @Override
52 public int hashCode() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected