Constructs a new random number generator.
Returns a pseudorandom double value between 0.0 and 1.0.
Pseudorandom double value between 0.0 and 1.0
Returns a pseudorandom int value (between zero and the specified upper bound).
Upper bound (exclusive)
Pseudorandom int value (between zero and the specified upper bound)
Generated using TypeDoc
An almost complete implementation in JS of the
java.util.Random
class from J2SE, designed to so far as possible produce the same output sequences as the Java original when supplied with the same seed. See https://www.npmjs.com/package/java-random for more information.