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