| Enum Constant and Description |
|---|
SPEED_0 |
SPEED_1 |
SPEED_2 |
SPEED_3 |
SPEED_4 |
SPEED_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static SpeedEnum |
getEnumByString(java.lang.String strSpeed)
Get SpeedEnum by String
|
int |
value() |
static SpeedEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpeedEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeedEnum SPEED_NOT_SET
public static final SpeedEnum SPEED_0
public static final SpeedEnum SPEED_1
public static final SpeedEnum SPEED_2
public static final SpeedEnum SPEED_3
public static final SpeedEnum SPEED_4
public static SpeedEnum[] values()
for (SpeedEnum c : SpeedEnum.values()) System.out.println(c);
public static SpeedEnum 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 int value()
public static SpeedEnum getEnumByString(java.lang.String strSpeed)
strSpeed - length must be 1