Example usage for Java org.apache.commons.math3.random Well1024a fields, constructors, methods, implement or subclass
The text is from its open source code.
Well1024a(int seed) Creates a new random number generator using a single int seed. | |
Well1024a(int[] seed) Creates a new random number generator using an int array seed. | |
Well1024a(long seed) Creates a new random number generator using a single long seed. | |
Well1024a() Creates a new random number generator. |
boolean | nextBoolean() |
int | nextInt(int n) This default implementation is copied from Apache Harmony java.util.Random (r929253). Implementation notes:
|
long | nextLong() |
void | setSeed(final int seed) Reinitialize the generator as if just built with the given int seed. |