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

Method hashCode

java/src/org/openqa/selenium/support/Color.java:115–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 @Override
116 public int hashCode() {
117 int result;
118 long temp;
119 result = red;
120 result = 31 * result + green;
121 result = 31 * result + blue;
122 temp = alpha != +0.0d ? Double.doubleToLongBits(alpha) : 0L;
123 result = 31 * result + Long.hashCode(temp);
124 return result;
125 }
126
127 private abstract static class Converter {
128 public @Nullable Color getColor(String value) {

Callers 1

checkHashCodeWorksMethod · 0.95

Calls

no outgoing calls

Tested by 1

checkHashCodeWorksMethod · 0.76