edu.kzoo.util
Class RandGen

java.lang.Object
  |
  +--edu.kzoo.util.RandGen

public class RandGen
extends java.lang.Object

Author:
Joel Booth

Constructor Summary
RandGen()
           
RandGen(long seed)
           
 
Method Summary
 boolean nextBoolean()
           
 void nextBytes(byte[] bytes)
           
 double nextDouble()
           
 float nextFloat()
           
 double nextGaussian()
           
 int nextInt()
           
 int nextInt(int n)
           
 long nextLong()
           
 void setSeed(long seed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandGen

public RandGen()

RandGen

public RandGen(long seed)
Method Detail

nextBoolean

public boolean nextBoolean()

nextBytes

public void nextBytes(byte[] bytes)

nextDouble

public double nextDouble()

nextFloat

public float nextFloat()

nextGaussian

public double nextGaussian()

nextInt

public int nextInt()

nextInt

public int nextInt(int n)

nextLong

public long nextLong()

setSeed

public void setSeed(long seed)