- nextInt
Returns a random non-negative integer below the given bound, or 0 if the bound
is 0 or negative.
- nextFloat
This returns a random float between 0.0f (inclusive) and outer (exclusive). The
value for outer can
- randomOrdering
Generates a random permutation of the range from 0 (inclusive) to length
(exclusive) and stores it i
- between
Returns a value between min (inclusive) and max (exclusive) as longs.
The inclusive and exclusive be
- copy
Creates a copy of this IRNG; it will generate the same random numbers, given the
same calls in order
- getRandomElement
Returns a random element from the provided array and maintains object type.
- next
Get up to 32 bits (inclusive) of random output; the int this produces will not
require more than bit
- nextDouble
This returns a random double between 0.0 (inclusive) and outer (exclusive). The
value for outer can
- nextLong
Returns a random long below the given bound, or 0 if the bound is 0 or negative.
- nextSignedInt
Returns a random non-negative integer between 0 (inclusive) and the given bound
(exclusive), or 0 if
- shuffle
Shuffle an array using the Fisher-Yates algorithm. DO NOT give the same array
for both elements and