public static enum Interpreter.State extends Enum<Interpreter.State>
| Modifier and Type | Method and Description |
|---|---|
static Interpreter.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interpreter.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interpreter.State WAITING
public static final Interpreter.State RUNNING
public static final Interpreter.State PAUSED
public static final Interpreter.State CANCELED
public static Interpreter.State[] values()
for (Interpreter.State c : Interpreter.State.values()) System.out.println(c);
public static Interpreter.State 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 © 2015. All rights reserved.