Could Thread
class in Java be an example of state pattern. As state pattern says "encapsulate state based behavior and delegate behavior to the current state".
However in thread class all the states are defined as enum not as encapsulated state with their behaviour so it should not be. Please clarify