@Immutable public static enum ThreadUtil.ThreadPriority extends Enum<ThreadUtil.ThreadPriority>
| Enum Constant and Description |
|---|
AUDIO |
BACKGROUND |
DEFAULT |
DISPLAY |
FOREGROUND |
LESS_FAVORABLE |
LOWEST |
MORE_FAVORABLE |
URGENT_AUDIO |
URGENT_DISPLAY |
| Modifier and Type | Method and Description |
|---|---|
static ThreadUtil.ThreadPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadUtil.ThreadPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadUtil.ThreadPriority AUDIO
Process.THREAD_PRIORITY_AUDIOpublic static final ThreadUtil.ThreadPriority BACKGROUND
Process.THREAD_PRIORITY_BACKGROUNDpublic static final ThreadUtil.ThreadPriority DEFAULT
Process.THREAD_PRIORITY_DEFAULTpublic static final ThreadUtil.ThreadPriority DISPLAY
Process.THREAD_PRIORITY_DISPLAYpublic static final ThreadUtil.ThreadPriority FOREGROUND
Process.THREAD_PRIORITY_FOREGROUNDpublic static final ThreadUtil.ThreadPriority LESS_FAVORABLE
Process.THREAD_PRIORITY_LESS_FAVORABLEpublic static final ThreadUtil.ThreadPriority LOWEST
Process.THREAD_PRIORITY_LOWESTpublic static final ThreadUtil.ThreadPriority MORE_FAVORABLE
Process.THREAD_PRIORITY_MORE_FAVORABLEpublic static final ThreadUtil.ThreadPriority URGENT_AUDIO
Process.THREAD_PRIORITY_URGENT_AUDIOpublic static final ThreadUtil.ThreadPriority URGENT_DISPLAY
Process.THREAD_PRIORITY_URGENT_DISPLAYpublic static ThreadUtil.ThreadPriority[] values()
for (ThreadUtil.ThreadPriority c : ThreadUtil.ThreadPriority.values()) System.out.println(c);
public static ThreadUtil.ThreadPriority 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