Class AlarmEqualityChecker


  • public class AlarmEqualityChecker
    extends java.lang.Object
    Checks equality between two alarms based on a defined set of excluded fields.

    Equality methods in this class modify their parameters as a side effect of comparison (by clearing certain fields). This is done to avoid needlessly cloning parameters by default. If modification is undesirable the parameters must be cloned before being passed to this class and discarded afterwards.