Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
X
Y
C
canAddCard(Card)
- Method in class cs4099.
Pile
Determines whether a card can be added to the pile.
canPerformMove(Pile, Pile)
- Method in class cs4099.
State
Tests whether a move can be performed from this state, by considering two factors:
1.
canRemoveCard()
- Method in class cs4099.
Pile
Verifies whether the top card can be removed, without actually removing it.
Card
- Class in
cs4099
This class represents an individual playing card, which can have one of four suits and one of thirteen values.
Card(int, int)
- Constructor for class cs4099.
Card
Creates a new instance of Card.
compareTo(Pile)
- Method in class cs4099.
Pile
Returns "true" if this pile is found to be "greater than" another, based on its attributes and contents but not its ID number.
contains(Card[])
- Method in class cs4099.
Pile
Returns information on whether any of a set of cards exist in this pile.
copy()
- Method in class cs4099.
State
Create an exact copy of this state, with duplicates of all piles and cards.
countCards()
- Method in class cs4099.
State
Counts the number of cards in the entire state.
countCardsInFoundations()
- Method in class cs4099.
State
Counts the number of cards in foundations.
cs4099
- package cs4099
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
X
Y