The members of Java.Util.Random are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
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. |