Java org.apache.commons.math.random RandomGenerator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math.random RandomGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math.random RandomGenerator.

The text is from its open source code.

Implementation

org.apache.commons.math.random.RandomGenerator has the following implementations.
Click this link to see all its implementation.

Method

doublenextDouble()
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
intnextInt(int n)
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
voidsetSeed(int seed)
Sets the seed of the underlying random number generator using an int seed.
voidsetSeed(int[] seed)
Sets the seed of the underlying random number generator using an int array seed.
voidsetSeed(long seed)
Sets the seed of the underlying random number generator using a long seed.