public class RandomGenerator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SEED
The default value for the random value seed.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Random |
getRNG()
Returns the random variable of this class.
|
static long |
getSeed()
Returns the seed of the random variable singleton.
|
static void |
initializeRNG(long seed)
Initializes the random generator with the given seed.
|
public static final int DEFAULT_SEED
public static void initializeRNG(long seed)
seed - The random seed to use for initialization.public static java.util.Random getRNG()
public static long getSeed()