Checks if the specified character is a digit (0 - 9). @param ch the character to be checked @return result of check
(final int ch)
| 1258 | * @return result of check |
| 1259 | */ |
| 1260 | public static boolean digit(final int ch) { |
| 1261 | return ch >= '0' && ch <= '9'; |
| 1262 | } |
| 1263 | |
| 1264 | /** |
| 1265 | * Checks if the specified character is a computer letter or digit. |