- nextInt
- <init>
Construct a random generator with the given seed as the initial state.
Equivalent to Random r = new
- nextDouble
Returns a pseudo-random uniformly distributed doublein the half-open range [0.0,
1.0).
- nextLong
Returns a pseudo-random uniformly distributed long.
- nextBytes
Fills buf with random bytes.
- nextFloat
- nextBoolean
Returns a pseudo-random uniformly distributed boolean.
- nextGaussian
Returns a pseudo-random (approximately) normally distributed double with mean
0.0 and standard devia
- setSeed
Modifies the seed using a linear congruential formula presented in The Art of
Computer Programming,
- ints
- longs
- doubles