public enum ThreadKind extends java.lang.Enum<ThreadKind>
| Enum Constant and Description |
|---|
ALLOCATED_SPACE |
APPLE_IIGS_ICON |
ASCII_TEXT |
CREATE_DIRECTORY |
DATA_FORK |
DISK_IMAGE |
FILENAME |
RESOURCE_FORK |
| Modifier and Type | Method and Description |
|---|---|
static ThreadKind |
find(int threadKind,
ThreadClass threadClass)
Find the specific ThreadKind.
|
static ThreadKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadKind ASCII_TEXT
public static final ThreadKind ALLOCATED_SPACE
public static final ThreadKind APPLE_IIGS_ICON
public static final ThreadKind CREATE_DIRECTORY
public static final ThreadKind DATA_FORK
public static final ThreadKind DISK_IMAGE
public static final ThreadKind RESOURCE_FORK
public static final ThreadKind FILENAME
public static ThreadKind[] values()
for (ThreadKind c : ThreadKind.values()) System.out.println(c);
public static ThreadKind 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 ThreadKind find(int threadKind, ThreadClass threadClass)
java.lang.IllegalArgumentException - when the thread_kind cannot be determined