| Enum Constant and Description |
|---|
EIGHT |
FIVE |
FOUR |
ONE |
SEVEN |
SIX |
THREE |
TWO |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
static PawnCount |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PawnCount[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PawnCount ZERO
public static final PawnCount ONE
public static final PawnCount TWO
public static final PawnCount THREE
public static final PawnCount FOUR
public static final PawnCount FIVE
public static final PawnCount SIX
public static final PawnCount SEVEN
public static final PawnCount EIGHT
public static PawnCount[] values()
for (PawnCount c : PawnCount.values()) System.out.println(c);
public static PawnCount 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