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