public static enum QfsmMachine.MachineType extends java.lang.Enum<QfsmMachine.MachineType>
Modifier and Type | Method and Description |
---|---|
static QfsmMachine.MachineType |
convert(int value)
Convert an integer value to the enum.
|
static QfsmMachine.MachineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QfsmMachine.MachineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QfsmMachine.MachineType BINARY
public static final QfsmMachine.MachineType ASCII
public static final QfsmMachine.MachineType FREE_TEXT
public static QfsmMachine.MachineType[] values()
for (QfsmMachine.MachineType c : QfsmMachine.MachineType.values()) System.out.println(c);
public static QfsmMachine.MachineType 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 nullpublic static QfsmMachine.MachineType convert(int value) throws QfsmException
value
- the integer value from the data fileQfsmException
- if the value is not supportedCopyright 2013 Michal Turek, AnotherFSM.