java.lang.Object
org.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groupClasses
private static java.lang.Class[] groupClasses
- Set of registered classes that we know how to instantiate.
cache
private static java.util.HashMap cache
HoldemHandGroupFactory
public HoldemHandGroupFactory()
getInstance
public static HoldemHandGroup getInstance(java.lang.String groupSpec)