org.pokersource.enum

Class HoldemThresholdGroup

Implemented Interfaces:
Comparable, HandGroup, HoldemHandGroup

public class HoldemThresholdGroup
extends ThresholdHandGroup
implements HoldemHandGroup

A holdem-specific implementation of ThresholdHandGroup.
Author:
Michael Maurer <mjmaurer@yahoo.com>
See Also:
ThresholdHandGroup

Field Summary

Fields inherited from class org.pokersource.enum.BaseHandGroup

myhands, myspec

Constructor Summary

HoldemThresholdGroup(String groupSpec)
Create a set of hands corresponding to those whose value compares either less than or greater than a threshold value, where the value of each hand is defined by a HandValuation.

Method Summary

Methods inherited from class org.pokersource.enum.ThresholdHandGroup

main, registerHandValuation

Methods inherited from class org.pokersource.enum.BaseHandGroup

compareTo, getGroupSpec, getHandSet, getHands, isHandInGroup, numHands, toString, toStringAtomic

Constructor Details

HoldemThresholdGroup

public HoldemThresholdGroup(String groupSpec)
Create a set of hands corresponding to those whose value compares either less than or greater than a threshold value, where the value of each hand is defined by a HandValuation.
Parameters:
groupSpec - Defines a hand valuation, a threshold value, and a comparator. The hand valuation is referred to by a string previously registered with registerHandValuation(). The threshold value is a number in decimal form. The comparator is one of '<', '<=', '>', '>='.

PokerSource Home Page - Learn how you can contribute!