C G P

C

Card - Class in p2Util
The Card class models a single card identified by Rank and Suit
Card(Suit, Rank) - Constructor for class p2Util.Card
Precondition: Suit and Rank are not null
Postcondition: A new Card object is initialized
compareTo(Card) - Method in class p2Util.Card
This method compares the calling Card with the Card parameter base on Rank

C G P