public enum TutorTerminator extends java.lang.Enum<TutorTerminator> implements TutorNavigationEnum
Enum Constant and Description |
---|
COMPLETE_N |
COMPLETE_ONE |
CORRECT_IN_A_ROW |
IF_THEN_ELSE |
PLACEMENTS |
Modifier and Type | Method and Description |
---|---|
static TutorTerminator |
findById(int id) |
java.lang.String |
getClassName() |
int |
getId() |
java.lang.String |
getName() |
static TutorTerminator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TutorTerminator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TutorTerminator COMPLETE_N
public static final TutorTerminator IF_THEN_ELSE
public static final TutorTerminator CORRECT_IN_A_ROW
public static final TutorTerminator COMPLETE_ONE
public static final TutorTerminator PLACEMENTS
public static TutorTerminator[] values()
for (TutorTerminator c : TutorTerminator.values()) System.out.println(c);
public static TutorTerminator 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 nullpublic java.lang.String getClassName()
getClassName
in interface TutorNavigationEnum
public int getId()
getId
in interface TutorNavigationEnum
public java.lang.String getName()
getName
in interface TutorNavigationEnum
public static TutorTerminator findById(int id)