MCPcopy Create free account
hub / github.com/mozilla/rhino / equals

Method equals

rhino/src/main/java/org/mozilla/javascript/Kit.java:274–279  ·  view source on GitHub ↗
(Object anotherObj)

Source from the content-addressed store, hash-verified

272 }
273
274 @Override
275 public boolean equals(Object anotherObj) {
276 if (!(anotherObj instanceof ComplexKey)) return false;
277 ComplexKey another = (ComplexKey) anotherObj;
278 return key1.equals(another.key1) && key2.equals(another.key2);
279 }
280
281 @Override
282 public int hashCode() {

Callers 15

strMethod · 0.45
initSlotMethod · 0.45
getMethod · 0.45
putMethod · 0.45
findSingleMethodMethod · 0.45
js_toPrimitiveMethod · 0.45
toBooleanMethod · 0.45
isSpecialPropertyMethod · 0.45
isObjectMethod · 0.45
divideMethod · 0.45

Calls

no outgoing calls

Tested by 15

parseResultMethod · 0.36
waitForCompletionMethod · 0.36
parseResultMethod · 0.36
processOptionsMethod · 0.36
processOptionsMethod · 0.36
parseResultMethod · 0.36
parseResultMethod · 0.36
processOptionsMethod · 0.36
writeTinderboxHeaderMethod · 0.36
writeSuiteResultMethod · 0.36
writeSuiteSummaryMethod · 0.36