public class Suit
extends java.lang.Object
Card.get_suit()| Modifier and Type | Field and Description |
|---|---|
static Suit |
CLUBS
The clubs (lowest) suit
|
static Suit |
DIAMONDS
The diamonds (second) suit
|
static Suit |
HEARTS
The hearts (third) suit
|
static Suit |
NO_SUIT
A no-suit used for jokers etc.
|
static Suit |
NO_TRUMP
Sent as part of a bid to indicate no trumps.
|
static Suit |
SPADES
The spades (highest) suit
|
static Suit |
UNKNOWN_SUIT
An unknown suit of a card
|
static java.util.ArrayList |
values |
| Modifier and Type | Method and Description |
|---|---|
int |
ordinal() |
java.lang.String |
toString() |
static Suit |
valueOf(int ordinal) |
static Suit[] |
values() |
public static final java.util.ArrayList values
public static final Suit NO_SUIT
public static final Suit UNKNOWN_SUIT
public static final Suit CLUBS
public static final Suit DIAMONDS
public static final Suit HEARTS
public static final Suit SPADES
public static final Suit NO_TRUMP