public static enum UCIClient.State extends java.lang.Enum<UCIClient.State>
Enum Constant and Description |
---|
PONDERING
The engine is pondering a move
|
STOPPED
The engine process is not running
|
THINKING
The engine is calculating a move
|
WAITING
The engine is waiting for commands
|
Modifier and Type | Method and Description |
---|---|
static UCIClient.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UCIClient.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UCIClient.State STOPPED
public static final UCIClient.State WAITING
public static final UCIClient.State THINKING
public static final UCIClient.State PONDERING
public static UCIClient.State[] values()
for (UCIClient.State c : UCIClient.State.values()) System.out.println(c);
public static UCIClient.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null