if (getCallType() != null ? !getCallType().equals(that.getCallType()) : that.getCallType() != null) { return false; if (getFrom() != null ? !getFrom().equals(that.getFrom()) : that.getFrom() != null) { return false; if (getTo() != null ? !getTo().equals(that.getTo()) : that.getTo() != null) { return false; if (getGasRaw() != null ? !getGasRaw().equals(that.getGasRaw()) : that.getGasRaw() != null) { return false; if (getInput() != null ? !getInput().equals(that.getInput()) : that.getInput() != null) { return false; return getValueRaw() != null ? getValueRaw().equals(that.getValueRaw()) : that.getValueRaw() == null;
if (getCallType() != null ? !getCallType().equals(that.getCallType()) : that.getCallType() != null) { return false; if (getFrom() != null ? !getFrom().equals(that.getFrom()) : that.getFrom() != null) { return false; if (getTo() != null ? !getTo().equals(that.getTo()) : that.getTo() != null) { return false; if (getGasRaw() != null ? !getGasRaw().equals(that.getGasRaw()) : that.getGasRaw() != null) { return false; if (getInput() != null ? !getInput().equals(that.getInput()) : that.getInput() != null) { return false; return getValueRaw() != null ? getValueRaw().equals(that.getValueRaw()) : that.getValueRaw() == null;
@Override public String toString() { return "CallAction{" + "callType='" + getCallType() + '\'' + ", from='" + getFrom() + '\'' + ", to='" + getTo() + '\'' + ", gas='" + getGasRaw() + '\'' + ", input='" + getInput() + '\'' + ", value='" + getValueRaw() + '\'' + '}'; } }
@Override public int hashCode() { int result = getCallType() != null ? getCallType().hashCode() : 0; result = 31 * result + (getFrom() != null ? getFrom().hashCode() : 0); result = 31 * result + (getTo() != null ? getTo().hashCode() : 0); result = 31 * result + (getGasRaw() != null ? getGasRaw().hashCode() : 0); result = 31 * result + (getInput() != null ? getInput().hashCode() : 0); result = 31 * result + (getValueRaw() != null ? getValueRaw().hashCode() : 0); return result; }
Trace.CallAction action2 = new Trace.CallAction(); action2.setCallType("call"); action2.setFrom("0x14772e4f805b4dd2e69bd6d3f9b5edf0dfa5385a"); action2.setTo("0x781ab1a38837e351bfe1e318c6587766848abffa"); action2.setGas("0x4f6c5"); action2.setInput("0xb46300ec"); action2.setValue("0x0"); trace2.setAction(action2); trace2.setError("Bad instruction");
@Override public int hashCode() { int result = getCallType() != null ? getCallType().hashCode() : 0; result = 31 * result + (getFrom() != null ? getFrom().hashCode() : 0); result = 31 * result + (getTo() != null ? getTo().hashCode() : 0); result = 31 * result + (getGasRaw() != null ? getGasRaw().hashCode() : 0); result = 31 * result + (getInput() != null ? getInput().hashCode() : 0); result = 31 * result + (getValueRaw() != null ? getValueRaw().hashCode() : 0); return result; }
@Override public String toString() { return "CallAction{" + "callType='" + getCallType() + '\'' + ", from='" + getFrom() + '\'' + ", to='" + getTo() + '\'' + ", gas='" + getGasRaw() + '\'' + ", input='" + getInput() + '\'' + ", value='" + getValueRaw() + '\'' + '}'; } }