The Random class provides methods to generate pseudo-random numbers via a plug-in PRNG, which is simply any function that generates a Long primitive.
Create a random InputStream of bytes from a PRNG.
Provides a way to append two arrays of possibly different types together by intelligently promoting primitive types where possible.
Version: TestU01 1.
Marsaglia Lagged Fibonacci PRNG
Version: TestU01 1.
Marsaglia XorShift PRNG
Version: TestU01 1.
Ziff 4-tap shift-register-sequence
Creates a string out of count number of elements extracted from total elements between offsets [0 .
Creates a string out of count number of elements extracted from total elements between offsets [0 ... count / 2) and (total - count / 2 ... total), using a callback that generates a string at each offset, and inserting a break string if count > total.
Number of elements to print
Total number of elements in sequence
Generates a string at each offset
Produces a string to insert as a break
Takes n elements from the front and from the back of array
Takes n elements from the front and from the back of array
Array
Number of elements to take
Additional utilities that need a home