Uses of Enum Class
Provides classes that are fundamental to the design of the Java programming language.
Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
Uses of Thread.State in java.langModifier and TypeMethodDescriptionThread.
getState()Returns the state of this thread.
static Thread.StateReturns the enum constant of this class with the specified name.
values()Returns an array containing the constants of this enum class, in the order they are declared.
Uses of Thread.State in java.lang.management