public enum MatchRating extends java.lang.Enum<MatchRating>
| Enum Constant and Description |
|---|
MATCH |
MISMATCH |
NO_DATA |
NO_MATCH |
PARTIAL_MATCH |
| Modifier and Type | Method and Description |
|---|---|
static MatchRating |
toEnum(java.lang.String value)
Converts a string to a enum.
|
java.lang.String |
toString() |
static MatchRating |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchRating MATCH
public static final MatchRating NO_MATCH
public static final MatchRating PARTIAL_MATCH
public static final MatchRating MISMATCH
public static final MatchRating NO_DATA
public static MatchRating[] values()
for (MatchRating c : MatchRating.values()) System.out.println(c);
public static MatchRating 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 java.lang.String toString()
toString in class java.lang.Enum<MatchRating>public static MatchRating toEnum(@Nullable java.lang.String value)
value - the value to convert.