Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.pokersource.enumerate
Class HoldemAtomicGroup

    java.lang.Object
      org.pokersource.enumerate.BaseHandGroup
          org.pokersource.enumerate.HoldemAtomicGroup

All Implemented Interfaces:
  java.lang.Comparable, HandGroup, HoldemHandGroup

    public class HoldemAtomicGroup

extends BaseHandGroup
implements HoldemHandGroup

A holdem hand group representing one exact starting hand such as "AhKh".

Author:
  Michael Maurer <mjmaurer@yahoo.com>

Field Summary
`private static org.apache.oro.text.regex.Pattern` | `atomicPattern`
`private static org.apache.oro.text.regex.Perl5Compiler` | `compiler`
`private static org.apache.oro.text.regex.Perl5Matcher` | `matcher`

Fields inherited from class org.pokersource.enumerate.BaseHandGroup
`myhands, myspec`

Constructor Summary
`HoldemAtomicGroup(java.lang.String groupSpec)` Convert specific starting hand to HoldemAtomicGroup object.

Method Summary
`private void` | `addAtomic(int rank1, int suit1, int rank2, int suit2)`
`static void` | `main(java.lang.String[] args)`

Methods inherited from class org.pokersource.enumerate.BaseHandGroup
`compareTo, getGroupSpec, getHands, getHandSet, isHandInGroup, numHands, toString, toStringAtomic`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface org.pokersource.enumerate.HandGroup
`getGroupSpec, getHands, getHandSet, isHandInGroup, numHands, toString, toStringAtomic`

Field Detail

### compiler

    private static org.apache.oro.text.regex.Perl5Compiler compiler

### matcher

    private static org.apache.oro.text.regex.Perl5Matcher matcher

### atomicPattern

    private static org.apache.oro.text.regex.Pattern atomicPattern

Constructor Detail

### HoldemAtomicGroup

    public HoldemAtomicGroup(java.lang.String groupSpec)

  Convert specific starting hand to HoldemAtomicGroup object.

  Parameters:
    `groupSpec` - starting hand (e.g., AhKd, 8h3s)

Method Detail

### addAtomic

    private void addAtomic(int rank1,
                           int suit1,
                           int rank2,
                           int suit2)

### main

    public static void main(java.lang.String[] args)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD