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