public final class Characters extends Object
Modifier and Type | Method and Description |
---|---|
static Character[] |
asCharacterArray(String s)
Map a String to an array of type Character.
|
static Character |
getCharacter(char c) |
static boolean |
isControl(char c)
Returns true if a character is a control character, and
false otherwise.
|
static boolean |
isPunctuation(char c)
Returns true if a character is punctuation, and false
otherwise.
|
static boolean |
isSymbol(char c)
Returns true if a character is a symbol, and false
otherwise.
|
static String |
unicodeBlockStringOf(char c)
Returns a string representation of a character's unicode
block.
|
public static Character getCharacter(char c)
public static Character[] asCharacterArray(String s)
s
- The String to mappublic static String unicodeBlockStringOf(char c)
c
- public static boolean isPunctuation(char c)
c
- public static boolean isSymbol(char c)
c
- public static boolean isControl(char c)
c
-