public enum GradingType extends Enum<GradingType>
| Enum Constant and Description |
|---|
LETTER |
PERCENTAGE |
POINTS |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Get the value for the type
|
static GradingType |
valueOf(int value) |
static GradingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradingType POINTS
public static final GradingType PERCENTAGE
public static final GradingType LETTER
public static GradingType[] values()
for (GradingType c : GradingType.values()) System.out.println(c);
public static GradingType 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 int getValue()
public static GradingType valueOf(int value)
Copyright © 2003–2018 Sakai Project. All rights reserved.