Yes. One example is the constructor for EmpiricalDistribution that
takes a RandomGenerator as argument. If a null is supplied, the
constructor does not complain and the lazy initialization works as
though the argumentless constructor had been used and a JDK random
generator is created. There are other similar examples, mostly
constructors, IIRC.
Phil
Just a thought. What if the instead of binding a generator to the Distribution
instances, a uniform double or array of uniform doubles were provided?
Cheers,
Ole
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org