public static enum Scheduler.State extends Enum<Scheduler.State>
Modifier and Type | Method and Description |
---|---|
static Scheduler.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scheduler.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheduler.State PLAYING
public static final Scheduler.State PAUSED
public static final Scheduler.State STOPPED
public static Scheduler.State[] values()
for (Scheduler.State c : Scheduler.State.values()) System.out.println(c);
public static Scheduler.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 nullProcessing Library loom by Cora Johnson-Roberson. (c) 2014-2016