Modifier and Type | Method and Description |
---|---|
static MCFClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MCFClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MCFClass error
public static final MCFClass command
public static final MCFClass reply
public static final MCFClass event
public static MCFClass[] values()
for (MCFClass c : MCFClass.values()) System.out.println(c);
public static MCFClass 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