public static interface Random.Engine
| Modifier and Type | Method and Description |
|---|---|
Data |
random(DataTypeId typeId,
int size)
Generated random data of the specified type and size.
|
void |
setSeed(int seed)
Sets a new seed of the random data generation engine.
|
void |
setUp()
Sets up the generation engine (if it requires some setup before being used).
|
void setUp()
void setSeed(int seed)
seed - The seed to be set.Data random(DataTypeId typeId, int size)
typeId - Data type identifier.size - Data type size (in bits).java.lang.UnsupportedOperationException - if random data generation is not supported by the given
data type.