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