MCPcopy Index your code
hub / github.com/coding-parrot/chess-engine / equals

Method equals

src/main/java/game/Move.java:66–72  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

64 }
65
66 @Override
67 public boolean equals(Object o) {
68 if (this == o) return true;
69 if (o == null || getClass() != o.getClass()) return false;
70 Move move = (Move) o;
71 return id == move.id;
72 }
73
74 @Override
75 public int hashCode() {

Callers 15

captureOnEdgeMethod · 0.45
kingAndQueenOutMethod · 0.45
kingAndKnightOutMethod · 0.45
kingAndPawnOutMethod · 0.45
alphaBetaMethod · 0.45
getLegalMovesMethod · 0.45
illegalEnPassantMethod · 0.45
updateForClearCellMethod · 0.45
longRangeUpdateMethod · 0.45
updateForBlockedCellMethod · 0.45
removeUnusedEnpassantMethod · 0.45
castlingAllowanceMethod · 0.45

Calls

no outgoing calls

Tested by 4

captureOnEdgeMethod · 0.36
kingAndQueenOutMethod · 0.36
kingAndKnightOutMethod · 0.36
kingAndPawnOutMethod · 0.36