@Override public int hashCode() { int result = getSub() != null ? getSub().hashCode() : 0; result = 31 * result + (getCost() != null ? getCost().hashCode() : 0); result = 31 * result + (getEx() != null ? getEx().hashCode() : 0); result = 31 * result + (getPc() != null ? getPc().hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !(o instanceof VMOperation)) { return false; } VMOperation that = (VMOperation) o; if (getSub() != null ? !getSub().equals(that.getSub()) : that.getSub() != null) { return false; } if (getCost() != null ? !getCost().equals(that.getCost()) : that.getCost() != null) { return false; } if (getEx() != null ? !getEx().equals(that.getEx()) : that.getEx() != null) { return false; } return getPc() != null ? getPc().equals(that.getPc()) : that.getPc() == null; }
@Override public int hashCode() { int result = getSub() != null ? getSub().hashCode() : 0; result = 31 * result + (getCost() != null ? getCost().hashCode() : 0); result = 31 * result + (getEx() != null ? getEx().hashCode() : 0); result = 31 * result + (getPc() != null ? getPc().hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || !(o instanceof VMOperation)) { return false; } VMOperation that = (VMOperation) o; if (getSub() != null ? !getSub().equals(that.getSub()) : that.getSub() != null) { return false; } if (getCost() != null ? !getCost().equals(that.getCost()) : that.getCost() != null) { return false; } if (getEx() != null ? !getEx().equals(that.getEx()) : that.getEx() != null) { return false; } return getPc() != null ? getPc().equals(that.getPc()) : that.getPc() == null; }
@Override public String toString() { return "VMOperation{" + "sub=" + getSub() + ", cost=" + getCost() + ", ex=" + getEx() + ", pc=" + getPc() + '}'; } }
@Override public String toString() { return "VMOperation{" + "sub=" + getSub() + ", cost=" + getCost() + ", ex=" + getEx() + ", pc=" + getPc() + '}'; } }