public final class CharType extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
EOI
End of input.
|
| Constructor and Description |
|---|
CharType() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAlphabet(char ch)
Judge is alphabet or not.
|
static boolean |
isDigital(char ch)
Judge is digital or not.
|
static boolean |
isEndOfInput(char ch)
Judge is end of input or not.
|
static boolean |
isSymbol(char ch)
Judge is symbol or not.
|
static boolean |
isWhitespace(char ch)
Judge is whitespace or not.
|
public static final byte EOI
public static boolean isWhitespace(char ch)
ch - to be judged charpublic static boolean isEndOfInput(char ch)
ch - to be judged charpublic static boolean isAlphabet(char ch)
ch - to be judged charpublic static boolean isDigital(char ch)
ch - to be judged charpublic static boolean isSymbol(char ch)
ch - to be judged charCopyright © 2019 The Apache Software Foundation. All rights reserved.