public static boolean isDigit(char c){
  return Character.isDigit(c);
}

public static boolean isDigit ( char c ) { return Character . isDigit ( c ) ; }
returns true if character c is a digit ( 0 . . 9 ) .
