|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRandom
Interface for random number generation.
| Method Summary | |
|---|---|
double |
nextDouble()
Returns a pseudorandom double, uniformly distributed between 0.0 (inclusive) and 1.0 (exclusive). |
double |
nextGaussian()
Returns a pseudorandom double, Gaussian ("normally") distributed value with mean 0.0 and standard deviation 1.0. |
int |
nextInt(int maxInt)
Returns a pseudorandom integer, uniformly distributed between 0 (inclusive) and maxInt (exclusive). |
| Method Detail |
|---|
double nextDouble()
int nextInt(int maxInt)
double nextGaussian()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||