public enum MatchResult extends Enum<MatchResult>
Enum Constant and Description |
---|
MASTER |
MASTER_AND_SHADOW |
NONE |
SHADOW |
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 NONE
public static final MatchResult MASTER
public static final MatchResult SHADOW
public static final MatchResult MASTER_AND_SHADOW
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 nullCopyright © GigaSpaces.