com.waveset.util
Class RandomGen
java.lang.Object
com.waveset.util.RandomGen
- public class RandomGen
- extends java.lang.Object
Field Summary |
static java.lang.String |
code_id
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
RandomGen
public RandomGen()
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)