Uses of Enum
org.apache.commons.rng.simple.RandomSource
Packages that use RandomSource
Package
Description
This package provides
factory 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 RandomSourceModifier and TypeFieldDescriptionprivate final RandomSource
JDKRandomBridge.source
Source.private final RandomSource
ThreadLocalRandomSource.ThreadLocalRng.source
The source.Fields in org.apache.commons.rng.simple with type parameters of type RandomSourceModifier and TypeFieldDescriptionprivate static final Map
<RandomSource, ThreadLocal<UniformRandomProvider>> ThreadLocalRandomSource.SOURCES
A map containing theThreadLocal
instance for eachRandomSource
.Methods in org.apache.commons.rng.simple that return RandomSourceModifier and TypeMethodDescriptionstatic RandomSource
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 RandomSourceModifier and TypeMethodDescriptionRandomSource.create
(RandomSource source) Deprecated.RandomSource.create
(RandomSource source, Object seed, 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 RandomSourceModifierConstructorDescriptionJDKRandomBridge
(RandomSource source, Object seed) Creates a new instance.(package private)
ThreadLocalRng
(RandomSource source) Create a new instance.
create()
instance method.