All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.lotspiech.poker.Machines

java.lang.Object
   |
   +----java.util.Dictionary
           |
           +----java.util.Hashtable
                   |
                   +----com.lotspiech.poker.Machines

public class Machines
extends Hashtable
This class is a dictionary of video poker machines. It's "main" program will find the best discard for a given hand and machine.

Author:
Jeffrey B. Lotspiech

Variable Index

 o COPYRIGHT
 o keys
 o ranks

Constructor Index

 o Machines(Reader)

Method Index

 o getKeys()
This returns an enumeration of the actual machines.
 o main(String[])
This will calculate the best discard for a given hand and machine.
 o toString()

Variables

 o COPYRIGHT
 private static final String COPYRIGHT
 o ranks
 private static final String ranks
 o keys
 private Vector keys

Constructors

 o Machines
 public Machines(Reader in0) throws Exception

Methods

 o getKeys
 public Enumeration getKeys()
This returns an enumeration of the actual machines.

Returns:
An Enumeration of the machines.
 o main
 public static void main(String args[]) throws Exception
This will calculate the best discard for a given hand and machine.

Parameters:
args - "Title of machine" "AS QH ... "
 o toString
 public String toString()
Overrides:
toString in class Hashtable

All Packages  Class Hierarchy  This Package  Previous  Next  Index