private static boolean isDigit(char p_char){
  return p_char >= '0' && p_char <= '9';
}

private static boolean isDigit ( char p_char ) { return p_char >= '0' && p_char <= '9' ; }
determine whether a char is a digit .
