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

Method equals

forge-core/src/main/java/forge/card/CardEdition.java:509–523  ·  view source on GitHub ↗
(final Object obj)

Source from the content-addressed store, hash-verified

507 }
508
509 @Override
510 public boolean equals(final Object obj) {
511 if (this == obj) {
512 return true;
513 }
514 if (obj == null) {
515 return false;
516 }
517 if (this.getClass() != obj.getClass()) {
518 return false;
519 }
520
521 final CardEdition other = (CardEdition) obj;
522 return other.name.equals(this.name) && this.code.equals(other.code);
523 }
524
525 @Override
526 public String toString() {

Callers 15

loadCardMethod · 0.95
smartValueOfMethod · 0.45
isSplitTypeMethod · 0.45
CardRulesPredicatesClass · 0.45
smartValueOfMethod · 0.45
isMethod · 0.45
isRebalancedMethod · 0.45
isCardObtainableMethod · 0.45
readAllMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected