@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof CreateAction)) { return false; } CreateAction that = (CreateAction) o; if (getFrom() != null ? !getFrom().equals(that.getFrom()) : that.getFrom() != null) { return false; } if (getGasRaw() != null ? !getGasRaw().equals(that.getGasRaw()) : that.getGasRaw() != null) { return false; } if (getValueRaw() != null ? !getValueRaw().equals(that.getValueRaw()) : that.getValueRaw() != null) { return false; } return getInit() != null ? getInit().equals(that.getInit()) : that.getInit() == null; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof CreateAction)) { return false; } CreateAction that = (CreateAction) o; if (getFrom() != null ? !getFrom().equals(that.getFrom()) : that.getFrom() != null) { return false; } if (getGasRaw() != null ? !getGasRaw().equals(that.getGasRaw()) : that.getGasRaw() != null) { return false; } if (getValueRaw() != null ? !getValueRaw().equals(that.getValueRaw()) : that.getValueRaw() != null) { return false; } return getInit() != null ? getInit().equals(that.getInit()) : that.getInit() == null; }
@Override public int hashCode() { int result = getFrom() != null ? getFrom().hashCode() : 0; result = 31 * result + (getGasRaw() != null ? getGasRaw().hashCode() : 0); result = 31 * result + (getValueRaw() != null ? getValueRaw().hashCode() : 0); result = 31 * result + (getInit() != null ? getInit().hashCode() : 0); return result; }
@Override public String toString() { return "CreateAction{" + "from='" + getFrom() + '\'' + ", gas='" + getGasRaw() + '\'' + ", value='" + getValueRaw() + '\'' + ", init='" + getInit() + '\'' + '}'; } }
Trace.CreateAction action1 = new Trace.CreateAction(); action1.setFrom("0x6c24f4387b31251fd7b6d7a1269d880b2108bf3a"); action1.setGas("0x4bc1f5"); action1.setInit("0x606060405234156200000d57fe5b60405162004e4038038062004e40833981016040908152815"); action1.setValue("0x0"); trace1.setAction(action1); trace1.setBlockHash("0xf831abfdc67fb2ea3d16b6510b8e37d3d3e52ce3c25ed345053cb9503a430dd8");
@Override public int hashCode() { int result = getFrom() != null ? getFrom().hashCode() : 0; result = 31 * result + (getGasRaw() != null ? getGasRaw().hashCode() : 0); result = 31 * result + (getValueRaw() != null ? getValueRaw().hashCode() : 0); result = 31 * result + (getInit() != null ? getInit().hashCode() : 0); return result; }
@Override public String toString() { return "CreateAction{" + "from='" + getFrom() + '\'' + ", gas='" + getGasRaw() + '\'' + ", value='" + getValueRaw() + '\'' + ", init='" + getInit() + '\'' + '}'; } }