boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DfaInstructionState state = (DfaInstructionState)o; return Objects.equals(myBeforeMemoryState, state.myBeforeMemoryState) && Objects.equals(myInstruction, state.myInstruction); }