tuffy.util
Class ProbMan

java.lang.Object
  extended by tuffy.util.ProbMan

public class ProbMan
extends java.lang.Object


Field Summary
private static java.util.Random rand
           
 
Constructor Summary
ProbMan()
           
 
Method Summary
static boolean nextBoolean()
           
static double nextDouble()
           
static boolean testChance(double prob)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rand

private static java.util.Random rand
Constructor Detail

ProbMan

public ProbMan()
Method Detail

testChance

public static boolean testChance(double prob)

nextDouble

public static double nextDouble()

nextBoolean

public static boolean nextBoolean()