public static enum ArgumentMatcher.MatchResult extends Enum<ArgumentMatcher.MatchResult>
| Modifier and Type | Method and Description |
|---|---|
int |
getScore() |
static ArgumentMatcher.MatchResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArgumentMatcher.MatchResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArgumentMatcher.MatchResult NO_MATCH
public static final ArgumentMatcher.MatchResult MATCH
public static final ArgumentMatcher.MatchResult SAME
public static ArgumentMatcher.MatchResult[] values()
for (ArgumentMatcher.MatchResult c : ArgumentMatcher.MatchResult.values()) System.out.println(c);
public static ArgumentMatcher.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 nullpublic int getScore()
Copyright © 2016. All Rights Reserved.