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

Method equals

java/src/org/openqa/selenium/remote/ShadowRoot.java:70–80  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

68 }
69
70 @Override
71 public boolean equals(Object o) {
72 if (this == o) {
73 return true;
74 }
75 if (o == null || getClass() != o.getClass()) {
76 return false;
77 }
78 ShadowRoot that = (ShadowRoot) o;
79 return Objects.equals(parent, that.parent) && Objects.equals(id, that.id);
80 }
81
82 @Override
83 public int hashCode() {

Callers

nothing calls this directly

Calls 1

getClassMethod · 0.65

Tested by

no test coverage detected