DefaultGenerator
Implements RandomGenerator by delegating all operations to Random.
Functions
Represent this RandomGenerator as commons-rng UniformRandomProvider preserving and mirroring its current state. Getting new value from one of those changes the state of another.
Create a generic random chain with provided generator
Create a new generator that is independent of current generator (operations on new generator do not affect this one and vise versa). The statistical properties of new generator should be the same as for this one. For pseudo-random generator, the fork is keeping the same sequence of numbers for given call order for each run.
Gets the next random Boolean value.
Gets the next random Double value uniformly distributed between 0 (inclusive) and 1 (exclusive).
A chunk of doubles of given size.