All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.lotspiech.poker.strategy.LogRules

java.lang.Object
   |
   +----com.lotspiech.poker.strategy.Rules
           |
           +----com.lotspiech.poker.strategy.LogRules

public class LogRules
extends Rules
This is for compatibility with the old C "hands.log" rules file.

Copyright 2001, 2002 by Jeffrey B. Lotspiech. This program is open source; it is licensed under the Common Public License Version 0.5.

Author:
Jeffrey B. Lotspiech

Variable Index

 o COPYRIGHT
 o index
 o log
 o table

Constructor Index

 o LogRules(String)
LogRules constructor comment.

Method Index

 o bestDiscard(HandWithDiscard)
This method was created in VisualAge.
 o getLastRule()
This method was created in VisualAge.

Variables

 o COPYRIGHT
 private static final String COPYRIGHT
 o log
 private byte log[]
 o index
 private int index
 o table
 private int table[]

Constructors

 o LogRules
 public LogRules(String filename) throws IOException, PatternSyntaxException
LogRules constructor comment.

Parameters:
in0 - java.io.Reader
Throws: IOException
The exception description.
Throws: PatternSyntaxException
The exception description.

Methods

 o bestDiscard
 protected void bestDiscard(HandWithDiscard hand) throws Exception
This method was created in VisualAge.

Parameters:
hand - com.lotspiech.poker.HandWithDiscard
Overrides:
bestDiscard in class Rules
 o getLastRule
 protected String getLastRule()
This method was created in VisualAge.

Returns:
java.lang.String
Overrides:
getLastRule in class Rules

All Packages  Class Hierarchy  This Package  Previous  Next  Index