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