Package | Description |
---|---|
org.apache.commons.rng.simple |
Randomness providers
|
Modifier and Type | Method | Description |
---|---|---|
static RandomSource |
RandomSource.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RandomSource[] |
RandomSource.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static org.apache.commons.rng.RestorableUniformRandomProvider |
RandomSource.create(RandomSource source) |
Creates a random number generator with a random seed.
|
static org.apache.commons.rng.RestorableUniformRandomProvider |
RandomSource.create(RandomSource source,
java.lang.Object seed,
java.lang.Object... data) |
Creates a random number generator with the given
seed . |
Constructor | Description |
---|---|
JDKRandomBridge(RandomSource source,
java.lang.Object seed) |
Creates a new instance.
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.