public static enum Constants.ThreadPriorityType extends java.lang.Enum<Constants.ThreadPriorityType>
Enum Constant and Description |
---|
CRITICAL
5.
|
HIGH
3: High priority.
|
HIGHEST
4.
|
LOW
1: Low priority.
|
LOWEST
0: Lowest priority.
|
NORMAL
2: Normal priority.
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(Constants.ThreadPriorityType type) |
static Constants.ThreadPriorityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ThreadPriorityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ThreadPriorityType LOWEST
public static final Constants.ThreadPriorityType LOW
public static final Constants.ThreadPriorityType NORMAL
public static final Constants.ThreadPriorityType HIGH
public static final Constants.ThreadPriorityType HIGHEST
public static final Constants.ThreadPriorityType CRITICAL
public static Constants.ThreadPriorityType[] values()
for (Constants.ThreadPriorityType c : Constants.ThreadPriorityType.values()) System.out.println(c);
public static Constants.ThreadPriorityType 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 int getValue(Constants.ThreadPriorityType type)