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

Method equals

java/src/org/openqa/selenium/support/Color.java:102–113  ·  view source on GitHub ↗
(@Nullable Object other)

Source from the content-addressed store, hash-verified

100 }
101
102 @Override
103 public boolean equals(@Nullable Object other) {
104 if (other == null) {
105 return false;
106 }
107
108 if (!(other instanceof Color)) {
109 return false;
110 }
111
112 return asRgba().equals(((Color) other).asRgba());
113 }
114
115 @Override
116 public int hashCode() {

Callers 10

createArgsMethod · 0.45
isApplicableMethod · 0.45
isApplicableMethod · 0.45
scoreMethod · 0.45
createArgsMethod · 0.45
getInterfacesMethod · 0.45
assertValidFindByMethod · 0.45

Calls 1

asRgbaMethod · 0.95

Tested by

no test coverage detected