public class XorShiftRNG extends Random
Random, however it can be used as an alternative.| Constructor and Description |
|---|
XorShiftRNG(long seed) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
next(int bits) |
int |
nextInt() |
int |
nextInt(int n) |
long |
nextLong() |
nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, setSeedCopyright © 2013–2014 0xdata. All rights reserved.