public enum Quality extends Enum<Quality>
Modifier and Type | Method and Description |
---|---|
static Quality |
fromValue(String value) |
String |
toString() |
String |
value() |
static Quality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quality GOOD
public static final Quality BAD
public static final Quality UNCERTAIN
public static Quality[] values()
for (Quality c : Quality.values()) System.out.println(c);
public static Quality 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 String value()