//An instance of this class represents a 5-card Poker-Hand import java.util.*; public class PokerHand { public static final int POKER_HAND_SIZE = 5; public enum HandType { HIGH_CARD, ONE_PAIR, TWO_PAIR, THREE_OF_A_KIND, STRAIGHT, FLUSH, FULL_HOUSE, FOUR_OF_A_KIND, STRAIGHT_FLUSH, ROYAL_FLUSH; } //Instance Variable PlayingCard[] hand; //The PlayingCards in this PokerHand //Constructor public PokerHand() { } //Accessor //Returns an array of references to the cards in this PokerHand public PlayingCard[] getHand() { return null; } //Mutator // Add another PlayingCard into this PokerHand // Exception thrown if this PokerHand is already completed // The added PlayingCard is inserted to maintain sorted order of this PokerHand public void addCard(PlayingCard card) { } //Override public String toString() { return "A Poker Hand"; } public HandType type() { return HandType.HIGH_CARD; } }