|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectggz.cards.common.Suit
public class Suit
Regular values for card suits.
Card.get_suit()
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
int |
ordinal()
|
java.lang.String |
toString()
|
static Suit |
valueOf(int ordinal)
|
static Suit[] |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public int ordinal()
public static Suit[] values()
public static Suit valueOf(int ordinal)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |