Class ListShuffleBenchmark.ShuffleData
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.sampling.ListShuffleBenchmark.ShuffleData
-
- Direct Known Subclasses:
ListShuffleBenchmark.ListData
- Enclosing class:
- ListShuffleBenchmark
public static class ListShuffleBenchmark.ShuffleData extends Object
The data for the shuffle. Contains the data size and the random generators.
-
-
Constructor Summary
Constructors Constructor Description ShuffleData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Random
getRandom()
Gets the random.org.apache.commons.rng.UniformRandomProvider
getRNG()
Gets the uniform random provider.int
getSize()
Gets the size.void
setupGenerators()
Create the random generators.
-
-
-
Constructor Detail
-
ShuffleData
public ShuffleData()
-
-
Method Detail
-
getSize
public int getSize()
Gets the size.- Returns:
- the size
-
getRNG
public org.apache.commons.rng.UniformRandomProvider getRNG()
Gets the uniform random provider.- Returns:
- the uniform random provider
-
setupGenerators
public void setupGenerators()
Create the random generators.
-
-