public static enum Experiment.Command extends java.lang.Enum<Experiment.Command>
Enum Constant and Description |
---|
OPEN_RESULTS |
OPEN_SNAPSHOT |
PAUSE |
RUN |
SAVE_RESULTS |
SAVE_SNAPSHOT |
STEP |
STOP |
Modifier and Type | Method and Description |
---|---|
static Experiment.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Experiment.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Experiment.Command OPEN_RESULTS
public static final Experiment.Command SAVE_RESULTS
public static final Experiment.Command OPEN_SNAPSHOT
public static final Experiment.Command SAVE_SNAPSHOT
public static final Experiment.Command RUN
public static final Experiment.Command STEP
public static final Experiment.Command PAUSE
public static final Experiment.Command STOP
public static Experiment.Command[] values()
for (Experiment.Command c : Experiment.Command.values()) System.out.println(c);
public static Experiment.Command 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 nullCopyright © AnyLogic North America, LLC. All Rights Reserved.