api/jar/src/main/java/javax/slee/management/TraceLevelFilter.java
public boolean isNotificationEnabled(Notification notification) {
        if (!(notification instanceof TraceNotification)) return false;
        if (minLevel_10 != null) {
            // SLEE 1.0 comparison
            Level traceLevel = ((TraceNotification)notification).getLevel();
            return traceLevel != null && !minLevel_10.isHigherLevel(traceLevel);
        }
        else {
            // SLEE 1.1 comparison
            TraceLevel traceLevel = ((TraceNotification)notification).getTraceLevel();
            return traceLevel != null && !minLevel_11.isHigherLevel(traceLevel);
        }
    }
public boolean isNotificationEnabled(Notification notification) {
        if (!(notification instanceof TraceNotification)) return false;
        if (minLevel_10 != null) {
            // SLEE 1.0 comparison
            Level traceLevel = ((TraceNotification)notification).getLevel();
            return traceLevel != null && !minLevel_10.isHigherLevel(traceLevel);
        }
        else {
            // SLEE 1.1 comparison
            TraceLevel traceLevel = ((TraceNotification)notification).getTraceLevel();
            return traceLevel != null && !minLevel_11.isHigherLevel(traceLevel);
        }
    }
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 TraceNotification}.