public class RandomGen
extends java.lang.Object
| Constructor and Description |
|---|
RandomGen() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initSeed(long seed)
Inits the seed.
|
static double |
nextDouble()
Next double.
|
static float |
nextFloat()
Next float.
|
static int |
nextInt(int max)
Next int.
|
public static void initSeed(long seed)
seed - the seedpublic static int nextInt(int max)
max - the maxpublic static float nextFloat()
public static double nextDouble()