@Override public int hashCode() { final int PRIME = 31; int result = 1; result = PRIME * result + ((bitMask == null) ? 0 : bitMask.hashCode()); result = PRIME * result + ((listOfBitstringValues == null) ? 0 : listOfBitstringValues.hashCode()); result = PRIME * result + ((timeDelay == null) ? 0 : timeDelay.hashCode()); return result; }
@Override public int hashCode() { final int PRIME = 31; int result = 1; result = PRIME * result + ((deadband == null) ? 0 : deadband.hashCode()); result = PRIME * result + ((highDiffLimit == null) ? 0 : highDiffLimit.hashCode()); result = PRIME * result + ((lowDiffLimit == null) ? 0 : lowDiffLimit.hashCode()); result = PRIME * result + ((setpointReference == null) ? 0 : setpointReference.hashCode()); result = PRIME * result + ((timeDelay == null) ? 0 : timeDelay.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; final ChangeOfBitString other = (ChangeOfBitString) obj; if (bitMask == null) { if (other.bitMask != null) return false; } else if (!bitMask.equals(other.bitMask)) return false; if (listOfBitstringValues == null) { if (other.listOfBitstringValues != null) return false; } else if (!listOfBitstringValues.equals(other.listOfBitstringValues)) return false; if (timeDelay == null) { if (other.timeDelay != null) return false; } else if (!timeDelay.equals(other.timeDelay)) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; final FloatingLimit other = (FloatingLimit) obj; if (deadband == null) { if (other.deadband != null) return false; } else if (!deadband.equals(other.deadband)) return false; if (highDiffLimit == null) { if (other.highDiffLimit != null) return false; } else if (!highDiffLimit.equals(other.highDiffLimit)) return false; if (lowDiffLimit == null) { if (other.lowDiffLimit != null) return false; } else if (!lowDiffLimit.equals(other.lowDiffLimit)) return false; if (setpointReference == null) { if (other.setpointReference != null) return false; } else if (!setpointReference.equals(other.setpointReference)) return false; if (timeDelay == null) { if (other.timeDelay != null) return false; } else if (!timeDelay.equals(other.timeDelay)) return false; return true; }