Class CachedNextGenerationPerformance.IntSources
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.core.CachedNextGenerationPerformance.IntSources
-
- Enclosing class:
- CachedNextGenerationPerformance
public static class CachedNextGenerationPerformance.IntSources extends Object
Provides a function to obtain an int value from the various "RandomSource"s that produce 64-bit output. It exercise the default nextInt() method (which may use a cache of bits) against a shift on the native output.
-
-
Constructor Summary
Constructors Constructor Description IntSources()
-
-
-
Constructor Detail
-
IntSources
public IntSources()
-
-
Method Detail
-
setup
public void setup()
Create the int source.
-
-