MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / equals

Method equals

src/main/java/org/htmlunit/html/impl/Color.java:110–136  ·  view source on GitHub ↗

{@inheritDoc}

(final Object obj)

Source from the content-addressed store, hash-verified

108 * {@inheritDoc}
109 */
110 @Override
111 public boolean equals(final Object obj) {
112 if (this == obj) {
113 return true;
114 }
115 if (obj == null) {
116 return false;
117 }
118 if (getClass() != obj.getClass()) {
119 return false;
120 }
121
122 final Color other = (Color) obj;
123 if (alpha_ != other.alpha_) {
124 return false;
125 }
126 if (blue_ != other.blue_) {
127 return false;
128 }
129 if (green_ != other.green_) {
130 return false;
131 }
132 if (red_ != other.red_) {
133 return false;
134 }
135 return true;
136 }
137}

Callers 15

executeScriptIfNeededMethod · 0.45
isDisplayedMethod · 0.45
setAttributeNSMethod · 0.45
getOptionByValueMethod · 0.45
getOptionByTextMethod · 0.45
getNamespaceURIMethod · 0.45
processImportNodeMethod · 0.45
setDefaultValueMethod · 0.45
removeFocusMethod · 0.45
handlesMethod · 0.45

Calls 1

getClassMethod · 0.45

Tested by

no test coverage detected