public static enum CharMatcher.Basic extends java.lang.Enum<CharMatcher.Basic> implements CharMatcher
CharMatcher.Basic, CharMatcher.Builder, CharMatcher.ByUnicodeCategory
Enum Constant and Description |
---|
DIGIT |
LETTER |
PUNCTUATION |
SYMBOL |
WHITESPACE |
Modifier and Type | Method and 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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isTokenChar
public 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