public class CharFunctions
extends java.lang.Object
Constructor and Description |
---|
CharFunctions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isDigit(char c)
Returns whether a specified character is a digit between 0 and 9.
|
static boolean |
isLowerCaseLetter(char c)
Returns whether a specified character is one of the 26 standard lower case
letters from 'a' to 'z'.
|
static boolean |
isNumeric(char c)
Checks whether a specified character is either a digit from 0 to 9 or a '.' or ','.
|
static boolean |
isSpecialCharacter(char c)
Returns true, if the specified character is neither a lower case letter, an
upper case letter or a digit.
|
static boolean |
isUpperCaseLetter(char c)
Returns whether a specified character is one of the 26 standard upper case
letters from 'A' to 'Z'.
|
public static boolean isNumeric(char c)
c
- a char to check.public static boolean isLowerCaseLetter(char c)
c
- a char to check.public static boolean isUpperCaseLetter(char c)
c
- a char to check.public static boolean isDigit(char c)
c
- a char to check.public static boolean isSpecialCharacter(char c)
c
- a char to check.@see isUpperCaseLetter @see isDigit