Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Resolved
-
None
-
None
-
None
Description
Some utilities of the JDK require a java.util.Random as an argument (e.g. method "shuffle" in java.util.Collections.
In order to use such utilities but with the actual RNG delegated to alternative algorithms (i.e. those provided in CM), we have to extend Random, overriding all the generation methods.
The adaptor will be similar to o.a.c.m.random.RandomAdaptor but for o.a.c.m.rng.UniformRandomProvider instead of o.a.c.m.random.RandomGenerator.