|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tuffy.util.ProbMan
public class ProbMan
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 |
---|
private static java.util.Random rand
Constructor Detail |
---|
public ProbMan()
Method Detail |
---|
public static boolean testChance(double prob)
public static double nextDouble()
public static boolean nextBoolean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |