private ConditionMatch evaluateNumericCondition(final long compareWith){
  if (log.isDebugEnabled()) {
    log.debug("evaluating with operator, is " + compareWith + " "+ getOperator()+ " "+ numericValue);
  }
switch (operator) {
case OPERATOR_NOT_EQUAL:
    return compareWith != numericValue ? new ConditionMatch() : null;
case OPERATOR_GREATER_THAN:
  return compareWith > numericValue ? new ConditionMatch() : null;
case OPERATOR_LESS_THAN:
return compareWith < numericValue ? new ConditionMatch() : null;
case OPERATOR_GREATER_THAN_OR_EQUAL:
return compareWith >= numericValue ? new ConditionMatch() : null;
case OPERATOR_LESS_THAN_OR_EQUAL:
return compareWith <= numericValue ? new ConditionMatch() : null;
default :
return compareWith == numericValue ? new ConditionMatch() : null;
}
}

private ConditionMatch evaluateNumericCondition ( final long compareWith ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "evaluating with operator, is " + compareWith + " " + getOperator ( ) + " " + numericValue ) ; } switch ( operator ) { case OPERATOR_NOT_EQUAL : return compareWith != numericValue ? new ConditionMatch ( ) : null ; case OPERATOR_GREATER_THAN : return compareWith > numericValue ? new ConditionMatch ( ) : null ; case OPERATOR_LESS_THAN : return compareWith < numericValue ? new ConditionMatch ( ) : null ; case OPERATOR_GREATER_THAN_OR_EQUAL : return compareWith >= numericValue ? new ConditionMatch ( ) : null ; case OPERATOR_LESS_THAN_OR_EQUAL : return compareWith <= numericValue ? new ConditionMatch ( ) : null ; default : return compareWith == numericValue ? new ConditionMatch ( ) : null ; } }
will evaluate usign operator .
