com.openholdem.structs
Class Deck

java.lang.Object
  extended by com.openholdem.structs.Deck

public class Deck
extends java.lang.Object

Version:
$Revision: 1.2 $

A Deck of 52 playing cards.

Author:
mattmann

Field Summary
static java.lang.String[] cards
           
 
Constructor Summary
Deck()
           
 
Method Summary
 Card getCard(java.lang.String cardStr)
           
 Card getCard(java.lang.String card, java.lang.String suit)
           
 java.util.Hashtable getCardDeck()
           
 void setCardDeck(java.util.Hashtable cardDeck)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cards

public static java.lang.String[] cards
Constructor Detail

Deck

public Deck()
Method Detail

getCard

public Card getCard(java.lang.String cardStr)

getCard

public Card getCard(java.lang.String card,
                    java.lang.String suit)

getCardDeck

public java.util.Hashtable getCardDeck()
Returns:
Returns the cardDeck.

setCardDeck

public void setCardDeck(java.util.Hashtable cardDeck)
Parameters:
cardDeck - The cardDeck to set.


Copyright © 2005-2007 Pagemewhen.com. All Rights Reserved.