|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Rank in p2Util |
|---|
| Methods in p2Util that return Rank | |
|---|---|
static Rank[] |
Rank.VALUES()
A static method to return all ranks in an array The array contains Ranks in order Ace, 2, 3,...,Queen, King |
| Constructors in p2Util with parameters of type Rank | |
|---|---|
Card(Suit suit,
Rank rank)
Precondition: Suit and Rank are not null Postcondition: A new Card object is initialized |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||