@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !(o instanceof SuicideAction)) { return false; } SuicideAction that = (SuicideAction) o; if (getAddress() != null ? !getAddress().equals(that.getAddress()) : that.getAddress() != null) { return false; } if (getBalanceRaw() != null ? !getBalanceRaw().equals(that.getBalanceRaw()) : that.getBalanceRaw() != null) { return false; } return getRefundAddress() != null ? getRefundAddress().equals(that.getRefundAddress()) : that.getRefundAddress() == null; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !(o instanceof SuicideAction)) { return false; } SuicideAction that = (SuicideAction) o; if (getAddress() != null ? !getAddress().equals(that.getAddress()) : that.getAddress() != null) { return false; } if (getBalanceRaw() != null ? !getBalanceRaw().equals(that.getBalanceRaw()) : that.getBalanceRaw() != null) { return false; } return getRefundAddress() != null ? getRefundAddress().equals(that.getRefundAddress()) : that.getRefundAddress() == null; }
@Override public String toString() { return "SuicideAction{" + "address='" + getAddress() + '\'' + ", balance='" + getBalanceRaw() + '\'' + ", refundAddress='" + getRefundAddress() + '\'' + '}'; } }
@Override public int hashCode() { int result = getAddress() != null ? getAddress().hashCode() : 0; result = 31 * result + (getBalanceRaw() != null ? getBalanceRaw().hashCode() : 0); result = 31 * result + (getRefundAddress() != null ? getRefundAddress().hashCode() : 0); return result; }
Trace.SuicideAction action3 = new Trace.SuicideAction(); action3.setAddress("0xb8d2ac822f3d0445f5b83d32b0b176c2cb3d0e60"); action3.setBalance("0x0"); action3.setRefundAddress("0x14772e4f805b4dd2e69bd6d3f9b5edf0dfa5385a"); trace3.setAction(action3); trace3.setBlockHash("0xf263b9364434a781057c467004e8d398d915529bdffa6f600d6d17fe733d3210");
@Override public int hashCode() { int result = getAddress() != null ? getAddress().hashCode() : 0; result = 31 * result + (getBalanceRaw() != null ? getBalanceRaw().hashCode() : 0); result = 31 * result + (getRefundAddress() != null ? getRefundAddress().hashCode() : 0); return result; }
@Override public String toString() { return "SuicideAction{" + "address='" + getAddress() + '\'' + ", balance='" + getBalanceRaw() + '\'' + ", refundAddress='" + getRefundAddress() + '\'' + '}'; } }