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