MCPcopy Create free account
hub / github.com/Hypejet/Jet / equals

Method equals

api/src/main/java/net/hypejet/jet/event/node/EventNode.java:280–288  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

278 }
279
280 @Override
281 public boolean equals(Object o) {
282 if (this == o) return true;
283 if (!(o instanceof EventNode<?> eventNode)) return false;
284 return Objects.equals(this.eventClass, eventNode.eventClass)
285 && this.priority == eventNode.priority
286 && Objects.equals(this.listeners, eventNode.listeners)
287 && Objects.equals(this.children, eventNode.children);
288 }
289
290 @Override
291 public int hashCode() {

Callers 1

testListenerEligibleMethod · 0.45

Calls

no outgoing calls

Tested by 1

testListenerEligibleMethod · 0.36