public enum MatchResult extends Enum<MatchResult>
Enum Constant and Description |
---|
MATCHED
Matched
|
NOT_MATCHED
Will not match
|
PARTIAL_MATCHED
Could match.
|
Modifier and Type | Method and Description |
---|---|
static MatchResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchResult NOT_MATCHED
public static final MatchResult PARTIAL_MATCHED
public static final MatchResult MATCHED
public static MatchResult[] values()
for (MatchResult c : MatchResult.values()) System.out.println(c);
public static MatchResult 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