- <init>
Uses the provided source of randomness for all calculations. This constructor
should be used if an a
- getRandomUniqueCells
Assigns to dest an array of unique Coords, from (startX,startY) inclusive to
(startX+width,startY+he
- getRandomness
- nextDouble
This returns a random double between 0.0 (inclusive) and outer (exclusive). The
value for outer can
- nextFloat
This returns a random float between 0.0f (inclusive) and outer (exclusive). The
value for outer can
- nextInt
Returns a random non-negative integer below the given bound, or 0 if the bound
is 0 or negative. Alw
- nextIntHasty
Returns a random non-negative integer between 0 (inclusive) and the given bound
(exclusive), or 0 if
- nextLong
Exclusive on bound (which must be positive), with an inner bound of 0. If bound
is negative or 0 thi
- nextSignedInt
Returns a random non-negative integer between 0 (inclusive) and the given bound
(exclusive), or 0 if
- nextSignedLong
Exclusive on bound (which may be positive or negative), with an inner bound of
0. If bound is negati
- randomOrdering
Generates a random permutation of the range from 0 (inclusive) to length
(exclusive) and stores it i
- randomPortion
Gets a random portion of data (an array), assigns that portion to output (an
array) so that it fills