Generates a copy of this PRNG (with independent state).
Generates a copy of this PRNG (with independent state).
Generates a random integer using n bits of state (0 <= n <= 32).
Generates a random integer using n bits of state (0 <= n <= 32).
Generates a random Boolean.
Generates a random Boolean.
Initializes the given byte array to random bytes.
Initializes the given byte array to random bytes.
Generates a random double in the interval 0.
Generates a random double in the interval 0.0 (inclusive) to 1.0 (exclusive).
Generates a random float in the interval 0.
Generates a random float in the interval 0.0 (inclusive) to 1.0 (exclusive).
Generates a random int.
Generates a random int between 0 (inclusive) and n (exclusive).
Generates a random int between 0 (inclusive) and n (exclusive). All values should be equally likely.
Generates a random long.
Generates a random long. All 64-bit long values are equally likely.
Global PRNG object.
Due to possible use by several threads, this object synchronizes on all PRNG access. To reduce possible lock contention, individual threads may instantiate their own WellPrng instances, which are no synchronized.