Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
Thread.State |
Thread.getState()
Returns the state of this thread.
|
static Thread.State |
Thread.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Thread.State[] |
Thread.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|