public static enum Card.Rank extends Enum<Card.Rank>
| Enum Constant and Description |
|---|
EIGHT |
FIVE |
FOUR |
NINE |
ONE |
SEVEN |
SIX |
SP_PLUS2 |
SP_PLUS4 |
SP_SKIP |
TEN |
THREE |
TWO |
| Modifier and Type | Method and Description |
|---|---|
static Card.Rank |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Card.Rank[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Card.Rank ONE
public static final Card.Rank TWO
public static final Card.Rank THREE
public static final Card.Rank FOUR
public static final Card.Rank FIVE
public static final Card.Rank SIX
public static final Card.Rank SEVEN
public static final Card.Rank EIGHT
public static final Card.Rank NINE
public static final Card.Rank TEN
public static final Card.Rank SP_PLUS2
public static final Card.Rank SP_PLUS4
public static final Card.Rank SP_SKIP
public static Card.Rank[] values()
for (Card.Rank c : Card.Rank.values()) System.out.println(c);
public static Card.Rank valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.