Package org.apache.commons.rng.core.util
Interface RandomStreams.SeededObjectFactory<T>
- Type Parameters:
T
- the object type
- Enclosing class:
RandomStreams
public static interface RandomStreams.SeededObjectFactory<T>
A factory for creating objects using a seed and a using a source of randomness.
- Since:
- 1.5
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(long seed, UniformRandomProvider source) Creates the object.
-
Method Details
-
create
Creates the object.- Parameters:
seed
- Seed used to initialise the instance.source
- Source of randomness used to initialise the instance.- Returns:
- the object
-