public enum CharPatternMatchResult extends Enum<CharPatternMatchResult>
Enum Constant and Description |
---|
KO
Match has failed.
|
NONE
No character to match.
|
OK
Match is OK.
|
Modifier and Type | Method and Description |
---|---|
static CharPatternMatchResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharPatternMatchResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharPatternMatchResult OK
public static final CharPatternMatchResult KO
public static final CharPatternMatchResult NONE
public static CharPatternMatchResult[] values()
for (CharPatternMatchResult c : CharPatternMatchResult.values()) System.out.println(c);
public static CharPatternMatchResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null