public enum ThreadStatus extends Enum<ThreadStatus>
| Enum Constant and Description |
|---|
PAUSED |
PAUSING |
RESUMING |
RUNNING |
STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static ThreadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadStatus RESUMING
public static final ThreadStatus RUNNING
public static final ThreadStatus PAUSING
public static final ThreadStatus PAUSED
public static final ThreadStatus STOPPED
public static ThreadStatus[] values()
for (ThreadStatus c : ThreadStatus.values()) System.out.println(c);
public static ThreadStatus 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 nullCopyright © 2018. All rights reserved.