public enum PPGCommand extends java.lang.Enum<PPGCommand> implements BaseEnum, Command
Enum Constant and Description |
---|
GET_ALGO_VENDOR_VERSION_REQ |
GET_ALGO_VENDOR_VERSION_RES |
GET_LAST_STATES_REQ |
GET_LAST_STATES_RES |
REF |
Modifier and Type | Method and Description |
---|---|
static PPGCommand |
getEnum(byte[] data) |
byte[] |
getID() |
PPGCommand |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static PPGCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PPGCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PPGCommand REF
public static final PPGCommand GET_LAST_STATES_REQ
public static final PPGCommand GET_LAST_STATES_RES
public static final PPGCommand GET_ALGO_VENDOR_VERSION_REQ
public static final PPGCommand GET_ALGO_VENDOR_VERSION_RES
public static PPGCommand[] values()
for (PPGCommand c : PPGCommand.values()) System.out.println(c);
public static PPGCommand 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 PPGCommand getEnum(byte[] data)
public PPGCommand getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public byte[] getID()
public java.lang.String toString()
toString
in class java.lang.Enum<PPGCommand>