api/jar/src/main/java/javax/slee/management/AlarmLevelFilter.java
public boolean isNotificationEnabled(Notification notification) {
        if (!(notification instanceof AlarmNotification)) return false;

        if (minLevel_10 != null) {
            // SLEE 1.0 comparison
            Level alarmLevel = ((AlarmNotification)notification).getLevel();
            return alarmLevel != null && !minLevel_10.isHigherLevel(alarmLevel);
        }
        else {
            // SLEE 1.1 comparison
            AlarmLevel alarmLevel = ((AlarmNotification)notification).getAlarmLevel();
            return alarmLevel != null && !minLevel_11.isHigherLevel(alarmLevel);
        }
    }
public boolean isNotificationEnabled(Notification notification) {
        if (!(notification instanceof AlarmNotification)) return false;

        if (minLevel_10 != null) {
            // SLEE 1.0 comparison
            Level alarmLevel = ((AlarmNotification)notification).getLevel();
            return alarmLevel != null && !minLevel_10.isHigherLevel(alarmLevel);
        }
        else {
            // SLEE 1.1 comparison
            AlarmLevel alarmLevel = ((AlarmNotification)notification).getAlarmLevel();
            return alarmLevel != null && !minLevel_11.isHigherLevel(alarmLevel);
        }
    }
Determine whether the specified notification should be delivered to notification
listeners using this notification filter.
@param notification the notification to be sent.
@return <code>true</code> if the notification should be delivered to notification
listeners, <code>false</code> otherwise.  This method always returns
<code>false</code> if <code>notification</code> is not an instance of
{@link AlarmNotification}.