All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.lotspiech.poker.ruin.HandProb

java.lang.Object
   |
   +----com.lotspiech.poker.ruin.HandProb

public class HandProb
extends Object
This class is used like a structure; it contains the payout and probability for a single hand.

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 multiple
 o name
 o prob

Constructor Index

 o HandProb(String, double)
 o HandProb(String, double, int)

Method Index

 o format(double, int)
 o toHtml(double)

Variables

 o COPYRIGHT
 private static final String COPYRIGHT
 o name
 public String name
 o prob
 public double prob
 o multiple
 public int multiple

Constructors

 o HandProb
 HandProb(String line,
          double denom)
 o HandProb
 HandProb(String name,
          double prob,
          int multiple)

Methods

 o format
 static String format(double n,
                      int places)
 o toHtml
 String toHtml(double denom)

All Packages  Class Hierarchy  This Package  Previous  Next  Index