protected static enum RVMThread.Waiting extends Enum<RVMThread.Waiting>
Enum Constant and Description |
---|
RUNNABLE
The thread is not waiting at all.
|
TIMED_WAITING
The thread is waiting with a timeout.
|
WAITING
The thread is waiting without a timeout.
|
Modifier and Type | Method and Description |
---|---|
static RVMThread.Waiting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RVMThread.Waiting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RVMThread.Waiting RUNNABLE
public static final RVMThread.Waiting WAITING
public static final RVMThread.Waiting TIMED_WAITING
public static RVMThread.Waiting[] values()
for (RVMThread.Waiting c : RVMThread.Waiting.values()) System.out.println(c);
public static RVMThread.Waiting valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null