public static enum StudentQuality.WeightType extends Enum<StudentQuality.WeightType>
Enum Constant and Description |
---|
BOTH
Penalty is incurred on both requests
|
HIGHER
Penalty is incurred on the request with higher priority
|
LOWER
Penalty is incurred on the request with lower priority
|
REQUEST
Penalty is incurred on the course request (for conflicts between course request and a free time)
|
Modifier and Type | Method and Description |
---|---|
static StudentQuality.WeightType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StudentQuality.WeightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StudentQuality.WeightType HIGHER
public static final StudentQuality.WeightType LOWER
public static final StudentQuality.WeightType BOTH
public static final StudentQuality.WeightType REQUEST
public static StudentQuality.WeightType[] values()
for (StudentQuality.WeightType c : StudentQuality.WeightType.values()) System.out.println(c);
public static StudentQuality.WeightType 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