private final boolean checkInt(int in,Condition condition){
  String value=condition.getValue();
  int v;
  try {
    v=Integer.parseInt(value);
  }
 catch (  NumberFormatException e) {
    return false;
  }
switch (condition.getConditionType()) {
case EQUALS:
{
      return (in == v);
    }
case NOT_EQUALS:
{
    return (in != v);
  }
case GREATER:
{
  return (in > v);
}
case GREATER_EQ:
{
return (in >= v);
}
case LESS:
{
return (in < v);
}
case LESS_EQ:
{
return (in <= v);
}
default :
{
return false;
}
}
}

private final boolean checkInt ( int in , Condition condition ) { String value = condition . getValue ( ) ; int v ; try { v = Integer . parseInt ( value ) ; } catch ( NumberFormatException e ) { return false ; } switch ( condition . getConditionType ( ) ) { case EQUALS : { return ( in == v ) ; } case NOT_EQUALS : { return ( in != v ) ; } case GREATER : { return ( in > v ) ; } case GREATER_EQ : { return ( in >= v ) ; } case LESS : { return ( in < v ) ; } case LESS_EQ : { return ( in <= v ) ; } default : { return false ; } } }
check the given int value for the specified condition
