public enum SubjectArea extends Enum<SubjectArea>
Enum Constant and Description |
---|
ENGLISH |
HISTORY |
LANGUAGE |
MATH |
SCIENCE |
STD_TEST |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static SubjectArea |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubjectArea[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubjectArea MATH
public static final SubjectArea HISTORY
public static final SubjectArea SCIENCE
public static final SubjectArea LANGUAGE
public static final SubjectArea ENGLISH
public static final SubjectArea STD_TEST
public static SubjectArea[] values()
for (SubjectArea c : SubjectArea.values()) System.out.println(c);
public static SubjectArea 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 getName()