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

Method equals

java/src/org/openqa/selenium/remote/Command.java:64–74  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

62 }
63
64 @Override
65 public boolean equals(Object o) {
66 if (!(o instanceof Command)) {
67 return false;
68 }
69
70 Command that = (Command) o;
71 return Objects.equals(this.sessionId, that.sessionId)
72 && Objects.equals(this.getName(), that.getName())
73 && Objects.equals(this.getParameters(), that.getParameters());
74 }
75
76 @Override
77 public int hashCode() {

Callers 15

copyFieldsMethod · 0.45
addressMethod · 0.45
createExecutorMethod · 0.45
applyMethod · 0.45
executeMethod · 0.45
interceptRequestMethod · 0.45
toStatusMethod · 0.45
getExceptionTypeMethod · 0.45
toStatusCodeMethod · 0.45
isMappableErrorMethod · 0.45
isW3CMethod · 0.45
getAlwaysMatchMethod · 0.45

Calls 2

getNameMethod · 0.95
getParametersMethod · 0.95

Tested by

no test coverage detected