Class JavaRNG

java.lang.Object
squidpony.squidmath.JavaRNG
All Implemented Interfaces:
Serializable, RandomnessSource

public class JavaRNG
extends Object
implements RandomnessSource, Serializable
This makes java.util.Random available for testing purposes. It is relevant mainly as example code, or if you want to compare what your results would have been without using a better RNG. Results might not be apparent in some cases, although the terrible performance of java.util.Random is likely to be the first thing a user notices if this is used heavily (i.e. to generate white noise with one call to nextDouble() per cell).
Author:
Ben McLean
See Also:
Serialized Form