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