api/jar/src/main/java/javax/slee/facilities/AlarmLevel.java
public boolean isHigherLevel(AlarmLevel other) throws NullPointerException {
        if (other == null) throw new NullPointerException("other is null");

        return this.level < other.level;
    }
public boolean isHigherLevel(AlarmLevel other) throws NullPointerException {
        if (other == null) throw new NullPointerException("other is null");

        return this.level < other.level;
    }
public boolean isHigherLevel ( AlarmLevel other ) throws NullPointerException { if ( other == null ) throw new NullPointerException ( "other is null" ) ; return this . level < other . level ; }
Determine if this AlarmLevel object represents a level that is higher than some other
AlarmLevel object.  For the purposes of the comparison the following order, from highest
to lowest severity, is assumed for alarm levels:
<ul>
<li>CLEAR
<li>CRITICAL
<li>MAJOR
<li>WARNING
<li>INDETERMINATE
<li>MINOR
</ul>
@param other the <code>AlarmLevel</code> object to compare this with.
@return <code>true</code> if the level represented by this <code>AlarmLevel</code>
object is considered a higher level than the level represented by the specified
<code>AlarmLevel</code> object, <code>false</code> otherwise.
@throws NullPointerException if <code>other</code> is <code>null</code>.
Determine if this AlarmLevel object represents a level that is higher than some other AlarmLevel object . For the purposes of the comparison the following order from highest to lowest severity is assumed for alarm levels : <ul > <li > CLEAR <li > CRITICAL <li > MAJOR <li > WARNING <li > INDETERMINATE <li > MINOR < / ul >