MCPcopy Create free account
hub / github.com/Card-Forge/forge / equals

Method equals

forge-game/src/main/java/forge/game/GameEntity.java:391–395  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

389 }
390
391 @Override
392 public final boolean equals(Object o) {
393 if (o == null) { return false; }
394 return o.hashCode() == id && o.getClass().equals(getClass());
395 }
396
397 @Override
398 public final int hashCode() {

Callers 5

cantBeAttachedMsgMethod · 0.95
runReplaceDamageMethod · 0.95
attachToEntityMethod · 0.95

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected