Package | Description |
---|---|
enumeration |
Modifier and Type | Field and Description |
---|---|
static Suit |
Suit.CLUBS |
static Suit |
Suit.DIAMONDS |
static Suit |
Suit.HEARTS |
static Suit |
Suit.SPADES |
private Suit |
Card.suit |
Modifier and Type | Field and Description |
---|---|
static java.util.List<Suit> |
Suit.VALUES |
Modifier and Type | Method and Description |
---|---|
Suit |
Card.getSuit() |
Modifier and Type | Method and Description |
---|---|
int |
Suit.compareTo(Suit that) |
Constructor and Description |
---|
Card(Rank rank,
Suit suit) |