public enum Grade extends Enum<Grade>
| Modifier and Type | Method and Description |
|---|---|
static Grade |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Grade[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grade S
public static final Grade A
public static final Grade B
public static final Grade C
public static final Grade D
public static final Grade F
public static final Grade X
public static Grade[] values()
for (Grade c : Grade.values()) System.out.println(c);
public static Grade 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 © 2015 Power TAC. All Rights Reserved.