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