Example usage for Java org.apache.commons.lang.math RandomUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
Random | JVM_RANDOM An instance of JVMRandom . |
boolean | nextBoolean() Returns the next pseudorandom, uniformly distributed boolean value from the Math.random() sequence. |
double | nextDouble() Returns the next pseudorandom, uniformly distributed float value between |
double | nextDouble(Random random) Returns the next pseudorandom, uniformly distributed float value between |
float | nextFloat() Returns the next pseudorandom, uniformly distributed float value between |
float | nextFloat(Random random) Returns the next pseudorandom, uniformly distributed float value between |
int | nextInt() Returns the next pseudorandom, uniformly distributed int value from the Math.random() sequence. |
int | nextInt(Random random) Returns the next pseudorandom, uniformly distributed int value from the given |
int | nextInt(int n) Returns a pseudorandom, uniformly distributed int value between |
int | nextInt(Random random, int n) Returns a pseudorandom, uniformly distributed int value between |
long | nextLong() Returns the next pseudorandom, uniformly distributed long value from the Math.random() sequence. |
long | nextLong(Random random) Returns the next pseudorandom, uniformly distributed long value from the given Random sequence. |