org.pokersource.enum

Interface HandGroup

Known Subinterfaces:
HoldemHandGroup
Known Implementing Classes:
BaseHandGroup, HoldemAbdulGroup, HoldemAtomicGroup, HoldemCanonGroup, HoldemSMGroup, HoldemThresholdGroup, HoldemUniversalGroup, ThresholdHandGroup

public interface HandGroup

A HandGroup represents a set of poker hands that can be referred to by name. The specific way that hands are assigned to named groups is specific to each poker game. For example, in Holdem, named groups include specific holdings like "AhAd", "Kh2h"; canonical starting hands like "AKs", "TT"; or abdulian groups like "Q8s+". Subclasses like HoldemHandGroup define these groups for specific games.
Author:
Michael Maurer <mjmaurer@yahoo.com>
See Also:
BaseHandGroup, HoldemHandGroup

Method Summary

String
getGroupSpec()
Set
getHandSet()
long[]
getHands()
boolean
isHandInGroup(long hand)
int
numHands()
String
toString()
String
toStringAtomic()

Method Details

getGroupSpec

public String getGroupSpec()

getHandSet

public Set getHandSet()

getHands

public long[] getHands()

isHandInGroup

public boolean isHandInGroup(long hand)

numHands

public int numHands()

toString

public String toString()

toStringAtomic

public String toStringAtomic()

PokerSource Home Page - Learn how you can contribute!