Modifier and Type | Field and Description |
---|---|
static Rank |
ACE_HIGH |
static Rank |
ACE_LOW |
private static int |
cNumInstances |
static Rank |
EIGHT |
static Rank |
FIVE |
static Rank |
FOUR |
private int |
instanceNum |
static Rank |
JACK |
static Rank |
KING |
private java.lang.String |
name |
static Rank |
NINE |
static Rank |
QUEEN |
static Rank |
SEVEN |
static Rank |
SIX |
static Rank |
TEN |
static Rank |
THREE |
static Rank |
TWO |
static java.util.List<Rank> |
VALUES |
Modifier | Constructor and Description |
---|---|
private |
Rank(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Rank that) |
int |
getValue() |
java.lang.String |
toString() |
private static int cNumInstances
private final int instanceNum
private final java.lang.String name
private Rank(java.lang.String name)