Package | Description |
---|---|
org.apache.commons.rng.simple |
This package provides
factory methods
by which low-level classes implemented in module "commons-rng-core"
are instantiated. |
Modifier and Type | Method and Description |
---|---|
static RandomSource |
RandomSource.valueOf(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 and Description |
---|---|
static RestorableUniformRandomProvider |
RandomSource.create(RandomSource source)
Deprecated.
It is preferred to use the
create() instance method. |
static RestorableUniformRandomProvider |
RandomSource.create(RandomSource source,
Object seed,
Object... data)
Deprecated.
It is preferred to use the
create(Object, Object...) instance method. |
static UniformRandomProvider |
ThreadLocalRandomSource.current(RandomSource source)
Returns the current thread's copy of the given
source . |
Constructor and Description |
---|
JDKRandomBridge(RandomSource source,
Object seed)
Creates a new instance.
|
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.