com.waveset.util
Class RandomGen

java.lang.Object
  extended bycom.waveset.util.RandomGen

public class RandomGen
extends java.lang.Object


Field Summary
static java.lang.String code_id
           
 
Constructor Summary
RandomGen()
           
 
Method Summary
static java.lang.Boolean nextBoolean()
           
static void nextBytes(byte[] bytes)
           
static java.lang.Double nextDouble()
           
static java.lang.Float nextFloat()
           
static java.lang.Double nextGaussian()
           
static java.lang.Integer nextInt()
           
static java.lang.Integer nextInt(java.lang.Integer n)
           
static java.lang.Long nextLong()
           
static void setSeed(java.lang.Long seed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

RandomGen

public RandomGen()
Method Detail

nextBoolean

public static java.lang.Boolean nextBoolean()

nextBytes

public static void nextBytes(byte[] bytes)

nextDouble

public static java.lang.Double nextDouble()

nextFloat

public static java.lang.Float nextFloat()

nextGaussian

public static java.lang.Double nextGaussian()

nextInt

public static java.lang.Integer nextInt()

nextInt

public static java.lang.Integer nextInt(java.lang.Integer n)

nextLong

public static java.lang.Long nextLong()

setSeed

public static void setSeed(java.lang.Long seed)