public static enum FireMachine.State extends java.lang.Enum<FireMachine.State>
Enum Constant and Description |
---|
BEGIN
The state before getfire() is called.
|
END
The state after getfire() normally completes.
|
FINAL
The final state.
|
PROCESS
The state when getfire() 'yield returns' some internal MetroII
events.
|
START
The initial state.
|
Modifier and Type | Method and Description |
---|---|
static FireMachine.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FireMachine.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FireMachine.State START
public static final FireMachine.State BEGIN
public static final FireMachine.State PROCESS
public static final FireMachine.State END
public static final FireMachine.State FINAL
public static FireMachine.State[] values()
for (FireMachine.State c : FireMachine.State.values()) System.out.println(c);
public static FireMachine.State 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