Serializable, Comparable<TTop.Operation>public static enum TTop.Operation extends Enum<TTop.Operation>
| Enum Constant | Description |
|---|---|
CLEAR |
|
DECREASE_DELAY |
|
EXIT |
|
HELP |
|
INCREASE_DELAY |
|
REVERSE |
| Modifier and Type | Method | Description |
|---|---|---|
static TTop.Operation |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TTop.Operation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TTop.Operation INCREASE_DELAY
public static final TTop.Operation DECREASE_DELAY
public static final TTop.Operation HELP
public static final TTop.Operation EXIT
public static final TTop.Operation CLEAR
public static final TTop.Operation REVERSE
public static TTop.Operation[] values()
for (TTop.Operation c : TTop.Operation.values()) System.out.println(c);
public static TTop.Operation 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 nullCopyright © 2020. All rights reserved.