Uses of Class
org.apache.commons.rng.simple.RandomSource
-
Packages that use RandomSource Package Description org.apache.commons.rng.simple This package providesfactory methods
by which low-level classes implemented in module "commons-rng-core" are instantiated. -
-
Uses of RandomSource in org.apache.commons.rng.simple
Fields in org.apache.commons.rng.simple declared as RandomSource Modifier and Type Field Description private RandomSource
JDKRandomBridge. source
Source.private RandomSource
ThreadLocalRandomSource.ThreadLocalRng. source
The source.Fields in org.apache.commons.rng.simple with type parameters of type RandomSource Modifier and Type Field Description private static java.util.EnumMap<RandomSource,java.lang.ThreadLocal<UniformRandomProvider>>
ThreadLocalRandomSource. SOURCES
A map containing theThreadLocal
instance for eachRandomSource
.Methods in org.apache.commons.rng.simple that return RandomSource 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.Methods in org.apache.commons.rng.simple with parameters of type RandomSource Modifier and Type Method Description static RestorableUniformRandomProvider
RandomSource. create(RandomSource source)
Deprecated.It is preferred to use thecreate()
instance method.static RestorableUniformRandomProvider
RandomSource. create(RandomSource source, java.lang.Object seed, java.lang.Object... data)
Deprecated.It is preferred to use thecreate(Object, Object...)
instance method.static UniformRandomProvider
ThreadLocalRandomSource. current(RandomSource source)
Returns the current thread's copy of the givensource
.Constructors in org.apache.commons.rng.simple with parameters of type RandomSource Constructor Description JDKRandomBridge(RandomSource source, java.lang.Object seed)
Creates a new instance.ThreadLocalRng(RandomSource source)
Create a new instance.
-