protected static enum PausableThread.ThreadPriority extends java.lang.Enum<PausableThread.ThreadPriority>
Thread
.Enum Constant and Description |
---|
ABOVE_NORMAL
|
BELOW_NORMAL
|
HIGHEST
The maximum priority a thread can have.
|
LOWEST
The minimum priority a thread can have.
|
NORMAL
The default priority of a thread.
|
Modifier and Type | Method and Description |
---|---|
static PausableThread.ThreadPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PausableThread.ThreadPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PausableThread.ThreadPriority ABOVE_NORMAL
public static final PausableThread.ThreadPriority BELOW_NORMAL
public static final PausableThread.ThreadPriority HIGHEST
public static final PausableThread.ThreadPriority LOWEST
public static final PausableThread.ThreadPriority NORMAL
public static PausableThread.ThreadPriority[] values()
for (PausableThread.ThreadPriority c : PausableThread.ThreadPriority.values()) System.out.println(c);
public static PausableThread.ThreadPriority 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