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