public static enum Hand.CardAlignment extends java.lang.Enum<Hand.CardAlignment>
| Enum Constant and Description |
|---|
FIRST
Align hand to the first card in the card list.
|
LAST
Align hand to the last card in the card list.
|
MIDDLE
Align hand to the middle card in the card list.
|
| Modifier and Type | Method and Description |
|---|---|
static Hand.CardAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Hand.CardAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hand.CardAlignment FIRST
public static final Hand.CardAlignment MIDDLE
public static final Hand.CardAlignment LAST
public static Hand.CardAlignment[] values()
for (Hand.CardAlignment c : Hand.CardAlignment.values()) System.out.println(c);
public static Hand.CardAlignment 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