public enum ThreadClass extends java.lang.Enum<ThreadClass>
| Modifier and Type | Method and Description |
|---|---|
static ThreadClass |
find(int threadClass)
Find the given ThreadClass.
|
static ThreadClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadClass MESSAGE
public static final ThreadClass CONTROL
public static final ThreadClass DATA
public static final ThreadClass FILENAME
public static ThreadClass[] values()
for (ThreadClass c : ThreadClass.values()) System.out.println(c);
public static ThreadClass 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 ThreadClass find(int threadClass)
java.lang.IllegalArgumentException - if the thread_class is unknown