return false; if (getResult() != null ? !getResult().equals(trace.getResult()) : trace.getResult() != null) { return false;
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !(o instanceof Result)) { return false; } Result result = (Result) o; if (getAddress() != null ? !getAddress().equals(result.getAddress()) : result.getAddress() != null) { return false; } if (getCode() != null ? !getCode().equals(result.getCode()) : result.getCode() != null) { return false; } if (getGasUsedRaw() != null ? !getGasUsedRaw().equals(result.getGasUsedRaw()) : result.getGasUsedRaw() != null) { return false; } return getOutput() != null ? getOutput().equals(result.getOutput()) : result.getOutput() == null; }
@Override public int hashCode() { int result1 = getAction() != null ? getAction().hashCode() : 0; result1 = 31 * result1 + (getError() != null ? getError().hashCode() : 0); result1 = 31 * result1 + (getResult() != null ? getResult().hashCode() : 0); result1 = 31 * result1 + (getSubtraces() != null ? getSubtraces().hashCode() : 0); result1 = 31 * result1 + (getTraceAddress() != null ? getTraceAddress().hashCode() : 0); result1 = 31 * result1 + (getType() != null ? getType().hashCode() : 0); result1 = 31 * result1 + (getBlockHash() != null ? getBlockHash().hashCode() : 0); result1 = 31 * result1 + (getBlockNumber() != null ? getBlockNumber().hashCode() : 0); result1 = 31 * result1 + (getTransactionHash() != null ? getTransactionHash().hashCode() : 0); result1 = 31 * result1 + (getTransactionPosition() != null ? getTransactionPosition().hashCode() : 0); return result1; }
return false; if (getResult() != null ? !getResult().equals(trace.getResult()) : trace.getResult() != null) { return false;
@Override public int hashCode() { int result1 = getAction() != null ? getAction().hashCode() : 0; result1 = 31 * result1 + (getError() != null ? getError().hashCode() : 0); result1 = 31 * result1 + (getResult() != null ? getResult().hashCode() : 0); result1 = 31 * result1 + (getSubtraces() != null ? getSubtraces().hashCode() : 0); result1 = 31 * result1 + (getTraceAddress() != null ? getTraceAddress().hashCode() : 0); result1 = 31 * result1 + (getType() != null ? getType().hashCode() : 0); result1 = 31 * result1 + (getBlockHash() != null ? getBlockHash().hashCode() : 0); result1 = 31 * result1 + (getBlockNumber() != null ? getBlockNumber().hashCode() : 0); result1 = 31 * result1 + (getTransactionHash() != null ? getTransactionHash().hashCode() : 0); result1 = 31 * result1 + (getTransactionPosition() != null ? getTransactionPosition().hashCode() : 0); return result1; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !(o instanceof Result)) { return false; } Result result = (Result) o; if (getAddress() != null ? !getAddress().equals(result.getAddress()) : result.getAddress() != null) { return false; } if (getCode() != null ? !getCode().equals(result.getCode()) : result.getCode() != null) { return false; } if (getGasUsedRaw() != null ? !getGasUsedRaw().equals(result.getGasUsedRaw()) : result.getGasUsedRaw() != null) { return false; } return getOutput() != null ? getOutput().equals(result.getOutput()) : result.getOutput() == null; }
@Override public String toString() { return "Result{" + "address='" + getAddress() + '\'' + ", code='" + getCode() + '\'' + ", gasUsed='" + getGasUsedRaw() + '\'' + ", output='" + getOutput() + '\'' + '}'; } }
@Override public int hashCode() { int result = getAddress() != null ? getAddress().hashCode() : 0; result = 31 * result + (getCode() != null ? getCode().hashCode() : 0); result = 31 * result + (getGasUsedRaw() != null ? getGasUsedRaw().hashCode() : 0); result = 31 * result + (getOutput() != null ? getOutput().hashCode() : 0); return result; }
trace1.setBlockHash("0xf831abfdc67fb2ea3d16b6510b8e37d3d3e52ce3c25ed345053cb9503a430dd8"); trace1.setBlockNumber(BigInteger.valueOf(4019912)); trace1.setResult(new Trace.Result( "0x1c9997559f6f1ae2ece8525eab68709f50865165", "0x606060405236156102b95763ffffffff60e060020a600035041663095ea7b381146102bb578063",
@Override public int hashCode() { int result = getAddress() != null ? getAddress().hashCode() : 0; result = 31 * result + (getCode() != null ? getCode().hashCode() : 0); result = 31 * result + (getGasUsedRaw() != null ? getGasUsedRaw().hashCode() : 0); result = 31 * result + (getOutput() != null ? getOutput().hashCode() : 0); return result; }
@Override public String toString() { return "Result{" + "address='" + getAddress() + '\'' + ", code='" + getCode() + '\'' + ", gasUsed='" + getGasUsedRaw() + '\'' + ", output='" + getOutput() + '\'' + '}'; } }