public static enum PA768eEnums.SwitchMode extends java.lang.Enum<PA768eEnums.SwitchMode>
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static PA768eEnums.SwitchMode |
valueOf(int code) |
static PA768eEnums.SwitchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PA768eEnums.SwitchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PA768eEnums.SwitchMode Stop
public static final PA768eEnums.SwitchMode NonStop
public static PA768eEnums.SwitchMode[] values()
for (PA768eEnums.SwitchMode c : PA768eEnums.SwitchMode.values()) System.out.println(c);
public static PA768eEnums.SwitchMode 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 PA768eEnums.SwitchMode valueOf(int code)