public enum ParamType extends Enum<ParamType> implements IEnumType
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the integer value of the parameter type.
|
static String[] |
names()
Returns an array containing the names of the parameter type constants.
|
String |
toString()
Returns the string message of the parameter type.
|
static ParamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParamType device
public static final ParamType engine
public static ParamType[] values()
for (ParamType c : ParamType.values()) System.out.println(c);
public static ParamType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public String toString()
public static String[] names()