public enum StopType extends java.lang.Enum<StopType>
Enum Constant and Description |
---|
NO_STOP_TYPE
The simulation will end when there are no more events scheduled.
|
STOP_AT_TIME
The simulation will be stopped at a specific simulation time.
|
STOP_ON_EVENT
The simulation will be stopped after a certain number of a certain event
has been processed.
|
Modifier and Type | Method and Description |
---|---|
static StopType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StopType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StopType STOP_AT_TIME
public static final StopType STOP_ON_EVENT
public static final StopType NO_STOP_TYPE
public static StopType[] values()
for (StopType c : StopType.values()) System.out.println(c);
public static StopType 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 null