public static enum NativeThread.PriorityLevel extends java.lang.Enum<NativeThread.PriorityLevel>
Enum Constant and Description |
---|
HIGH_PRIORITY |
LOW_PRIORITY |
MAX_PRIORITY |
MIN_PRIORITY |
NORM_PRIORITY |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static NativeThread.PriorityLevel |
fromValue(int value) |
static NativeThread.PriorityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeThread.PriorityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeThread.PriorityLevel MIN_PRIORITY
public static final NativeThread.PriorityLevel LOW_PRIORITY
public static final NativeThread.PriorityLevel NORM_PRIORITY
public static final NativeThread.PriorityLevel HIGH_PRIORITY
public static final NativeThread.PriorityLevel MAX_PRIORITY
public static NativeThread.PriorityLevel[] values()
for (NativeThread.PriorityLevel c : NativeThread.PriorityLevel.values()) System.out.println(c);
public static NativeThread.PriorityLevel 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 NativeThread.PriorityLevel fromValue(int value)