The methods of Java.Util.Random are listed below. For a list of all members, see the Random Members list.
See Also: Inherited members from Java.Lang.Object
NextBoolean()Returns a pseudo-random uniformly distributed boolean. | ||
NextBytes(byte[])Fills buf with random bytes. | ||
NextDouble()Returns a pseudo-random uniformly distributed double in the half-open range [0. | ||
NextFloat()Returns a pseudo-random uniformly distributed float in the half-open range [0. | ||
NextGaussian()Returns a pseudo-random (approximately) normally distributed double with mean 0.0 and standard deviation 1. | ||
NextInt()Returns a pseudo-random uniformly distributed int. | ||
NextInt(int)Returns a pseudo-random uniformly distributed int in the half-open range [0, n). | ||
NextLong()Returns a pseudo-random uniformly distributed long. | ||
SetSeed(long)Modifies the seed using a linear congruential formula presented in The Art of Computer Programming, Volume 2, Section 3. |