public boolean isExceeded() {
        lastAggregatedValue = getAggregatedValue();
        lastExceededValue = false;
        switch (operator) {
            case lessThan:
                lastExceededValue = (lastAggregatedValue < thresholdValue);
                break;
            case greaterThan: lastExceededValue = (lastAggregatedValue > thresholdValue);
                break;
        }
        return lastExceededValue;
    }
public boolean isExceeded ( ) { lastAggregatedValue = getAggregatedValue ( ) ; lastExceededValue = false ; switch ( operator ) { case lessThan : lastExceededValue = ( lastAggregatedValue < thresholdValue ) ; break ; case greaterThan : lastExceededValue = ( lastAggregatedValue > thresholdValue ) ; break ; } return lastExceededValue ; }
Returns true of this threshold has been exceeded.

@return true if exceeded