public static enum AlgorithmExercise.ExamResult extends java.lang.Enum<AlgorithmExercise.ExamResult>
Enum Constant and Description |
---|
FAILED
the exercise is failed
|
SUCCEEDED
the exercise is succeeded
|
Modifier and Type | Method and Description |
---|---|
static AlgorithmExercise.ExamResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlgorithmExercise.ExamResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlgorithmExercise.ExamResult SUCCEEDED
public static final AlgorithmExercise.ExamResult FAILED
public static AlgorithmExercise.ExamResult[] values()
for (AlgorithmExercise.ExamResult c : AlgorithmExercise.ExamResult.values()) System.out.println(c);
public static AlgorithmExercise.ExamResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null