|
PokerSource Java API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.pokersource.enum.HoldemHandGroupFactory
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 |
private static java.lang.Class[] groupClasses
private static java.util.HashMap cache
| Constructor Detail |
public HoldemHandGroupFactory()
| Method Detail |
public static HoldemHandGroup getInstance(java.lang.String groupSpec)
|
PokerSource Java API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||