public void addAlarm(final Alarm ALARM){
  if (!alarms.contains(ALARM))   alarms.add(ALARM);
}

public void addAlarm ( final Alarm ALARM ) { if ( ! alarms . contains ( ALARM ) ) alarms . add ( ALARM ) ; }
adds the given alarm object from the list of alarms .
