Exemplo n.º 1
0
 @Override
 public int hashCode() {
   final int PRIME = 31;
   int result = 1;
   result =
       PRIME * result
           + ((acknowledgedTransitions == null) ? 0 : acknowledgedTransitions.hashCode());
   result = PRIME * result + ((alarmState == null) ? 0 : alarmState.hashCode());
   result = PRIME * result + ((objectIdentifier == null) ? 0 : objectIdentifier.hashCode());
   return result;
 }