public enum MatchType extends java.lang.Enum<MatchType> implements EnumConverter<MatchType>
Enum Constant and Description |
---|
APPROVAL |
NO_MATCH |
OPTION_100 |
OPTION_81_60 |
OPTION_89_80 |
OPTION_94_90 |
OPTION_99_82 |
OPTION_99_95 |
PERFECT |
TM_MATCH |
Modifier and Type | Method and Description |
---|---|
static MatchType |
from(java.lang.String value) |
java.lang.Object |
to(MatchType v) |
static MatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchType PERFECT
public static final MatchType OPTION_100
public static final MatchType OPTION_99_82
public static final MatchType OPTION_99_95
public static final MatchType OPTION_94_90
public static final MatchType OPTION_89_80
public static final MatchType OPTION_81_60
public static final MatchType TM_MATCH
public static final MatchType APPROVAL
public static final MatchType NO_MATCH
public static MatchType[] values()
for (MatchType c : MatchType.values()) System.out.println(c);
public static MatchType 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 nullpublic static MatchType from(java.lang.String value)
public java.lang.Object to(MatchType v)
to
in interface EnumConverter<MatchType>