Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.pokersource.enum
Class HoldemHandGroupFactory  view HoldemHandGroupFactory download HoldemHandGroupFactory.java

java.lang.Object
  extended byorg.pokersource.enum.HoldemHandGroupFactory

public class HoldemHandGroupFactory
extends java.lang.Object

Creates instances of HoldemHandGroup objects from their string representations. Use of this factory is preferred to directly calling the constructors of the HoldemHandGroup subclasses.


Field Summary
private static java.util.HashMap cache
           
private static java.lang.Class[] groupClasses
          Set of registered classes that we know how to instantiate.
 
Constructor Summary
HoldemHandGroupFactory()
           
 
Method Summary
static HoldemHandGroup getInstance(java.lang.String groupSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupClasses

private static java.lang.Class[] groupClasses
Set of registered classes that we know how to instantiate.


cache

private static java.util.HashMap cache
Constructor Detail

HoldemHandGroupFactory

public HoldemHandGroupFactory()
Method Detail

getInstance

public static HoldemHandGroup getInstance(java.lang.String groupSpec)