@Override public boolean equals(Object obj) { if (obj instanceof BinThreshold3) { BinThreshold3 binThreshold3 = (BinThreshold3) obj; return new EqualsBuilder() .append(getBinNumber(), binThreshold3.getBinNumber()) .append(getRetractBin(), binThreshold3.getRetractBin()) .isEquals(); } return false; }
@Override public String toString() { return new ToStringBuilder(this) .append("binNumber", getBinNumber()) .append("retractBin", getRetractBin()) .toString(); } }
@Override public int hashCode() { return new HashCodeBuilder().append(getBinNumber()).append(getRetractBin()).toHashCode(); }
protected void set(BinThreshold3 copy) { binNumber.set(copy.getBinNumber()); retractBin.set(copy.getRetractBin()); }