|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.toronto.cs.util.Chaos
public class Chaos
Constructor Summary | |
---|---|
Chaos()
|
Method Summary | |
---|---|
static int |
inRange(int lo,
int hi)
|
static double |
nextDouble()
|
static boolean |
nextThreshold(float theta)
|
static int |
nextUpTo(int n)
|
static void |
seed(int s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Chaos()
Method Detail |
---|
public static void seed(int s)
public static int nextUpTo(int n)
public static int inRange(int lo, int hi)
public static boolean nextThreshold(float theta)
public static double nextDouble()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |