public enum GoodBad5 extends Enum<GoodBad5>
| Enum Constant and Description |
|---|
BAD |
GOOD |
MEDIUM |
VERY_BAD |
VERY_GOOD |
| Modifier and Type | Method and Description |
|---|---|
static GoodBad5 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoodBad5[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoodBad5 VERY_GOOD
public static final GoodBad5 GOOD
public static final GoodBad5 MEDIUM
public static final GoodBad5 BAD
public static final GoodBad5 VERY_BAD
public static GoodBad5[] values()
for (GoodBad5 c : GoodBad5.values()) System.out.println(c);
public static GoodBad5 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 © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.