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

Method equals

java/src/org/openqa/selenium/By.java:162–171  ·  view source on GitHub ↗
(@Nullable Object o)

Source from the content-addressed store, hash-verified

160 }
161
162 @Override
163 public boolean equals(@Nullable Object o) {
164 if (!(o instanceof By)) {
165 return false;
166 }
167
168 By that = (By) o;
169
170 return this.toString().equals(that.toString());
171 }
172
173 @Override
174 public int hashCode() {

Callers 10

visitFileMethod · 0.45
visitMethodInsnMethod · 0.45
mainMethod · 0.45
readSourceFilesMethod · 0.45
isBaseClassMethod · 0.45
isExactMatchMethod · 0.45
isMethod · 0.45
equalsMethod · 0.45

Calls 1

toStringMethod · 0.95

Tested by

no test coverage detected