All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.lotspiech.poker.BunchOfCards
Copyright 2001, 2002 by Jeffrey B. Lotspiech. This program is open source;
it is licensed under the Common Public License Version 0.5.
private static final String COPYRIGHT
protected int ranks[]
protected int suits[]
protected int cardHere[][]
protected int count
protected int jokers
protected int wilds
protected int wildRank
protected int wildHere[]
public BunchOfCards()
public BunchOfCards(Card cards[])
public void addCard(Card card)
protected void addCards(Card cards[])
public int getWildRank()
public boolean hasCard(int suit, int rank)
public boolean hasCard(Card c)
public int numberRank(int rank)
public int numberSuit(int suit)
public int numberWilds()
public void removeCard(Card card) throws LogicException
public void removeCards(Card cards[]) throws Exception
public void removeCards(BunchOfCards b) throws Exception
public void setWildRank(int rank)
public int size()
public String toString()
All Packages Class Hierarchy This Package Previous Next Index