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