Package jasima.core.simulation.util
Enum SimOperations.SimEventType
- java.lang.Object
-
- java.lang.Enum<SimOperations.SimEventType>
-
- jasima.core.simulation.util.SimOperations.SimEventType
-
- All Implemented Interfaces:
Serializable,Comparable<SimOperations.SimEventType>
- Enclosing interface:
- SimOperations
public static enum SimOperations.SimEventType extends Enum<SimOperations.SimEventType>
Whether an event is a normal/app event or a utility event. The simulation continues while there are app events in the event queue, utility events are ignored in this respect.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_EVENTUTILITY_EVENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimOperations.SimEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SimOperations.SimEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APP_EVENT
public static final SimOperations.SimEventType APP_EVENT
-
UTILITY_EVENT
public static final SimOperations.SimEventType UTILITY_EVENT
-
-
Method Detail
-
values
public static SimOperations.SimEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SimOperations.SimEventType c : SimOperations.SimEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimOperations.SimEventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-