CharMatcherpublic static enum CharMatcher.Basic extends java.lang.Enum<CharMatcher.Basic> implements CharMatcher
CharMatcher.Basic, CharMatcher.Builder, CharMatcher.ByUnicodeCategory| Enum Constant | Description |
|---|---|
DIGIT |
|
LETTER |
|
PUNCTUATION |
|
SYMBOL |
|
WHITESPACE |
| Modifier and Type | Method | Description |
|---|---|---|
static CharMatcher.Basic |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CharMatcher.Basic[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
isTokenCharpublic static final CharMatcher.Basic LETTER
public static final CharMatcher.Basic DIGIT
public static final CharMatcher.Basic WHITESPACE
public static final CharMatcher.Basic PUNCTUATION
public static final CharMatcher.Basic SYMBOL
public static CharMatcher.Basic[] values()
for (CharMatcher.Basic c : CharMatcher.Basic.values()) System.out.println(c);
public static CharMatcher.Basic valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null