public static enum ThreadState.Kind extends java.lang.Enum<ThreadState.Kind>
Enum Constant and Description |
---|
EXECUTING
Executing code
|
START
Ready to start execution
|
WAIT_ADDR
Waiting for an address to be allocated
|
WAIT_LABEL
Waiting for a label to be allocated
|
WAIT_SYNC
Waiting for a synchronization event
|
Modifier and Type | Method and Description |
---|---|
static ThreadState.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadState.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadState.Kind START
public static final ThreadState.Kind EXECUTING
public static final ThreadState.Kind WAIT_SYNC
public static final ThreadState.Kind WAIT_ADDR
public static final ThreadState.Kind WAIT_LABEL
public static ThreadState.Kind[] values()
for (ThreadState.Kind c : ThreadState.Kind.values()) System.out.println(c);
public static ThreadState.Kind 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 null