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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
create(long seed, UniformRandomProvider source)
Creates the object.
-
-
-
Method Detail
-
create
T create(long seed, UniformRandomProvider source)
Creates the object.- Parameters:
seed
- Seed used to initialise the instance.source
- Source of randomness used to initialise the instance.- Returns:
- the object
-
-