public static enum Student.BackToBackPreference extends Enum<Student.BackToBackPreference>
Enum Constant and Description |
---|
BTB_DISCOURAGED |
BTB_PREFERRED |
NO_PREFERENCE |
Modifier and Type | Method and Description |
---|---|
static Student.BackToBackPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Student.BackToBackPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Student.BackToBackPreference NO_PREFERENCE
public static final Student.BackToBackPreference BTB_PREFERRED
public static final Student.BackToBackPreference BTB_DISCOURAGED
public static Student.BackToBackPreference[] values()
for (Student.BackToBackPreference c : Student.BackToBackPreference.values()) System.out.println(c);
public static Student.BackToBackPreference 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 null