public class SHR3 extends java.lang.Object implements RandomLongGenerator
| Constructor and Description |
|---|
SHR3() |
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Get the next random
double. |
int |
nextInt() |
long |
nextLong()
Get the next random
long. |
void |
seed(long... seeds)
Seed the random number generator to produce repeatable sequences.
|
public void seed(long... seeds)
RandomNumberGeneratorseed in interface RandomNumberGeneratorseeds - the seedspublic long nextLong()
RandomLongGeneratorlong.nextLong in interface RandomLongGeneratorlongpublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGeneratorpublic int nextInt()