public static class RandomUtils.XorShiftRNG
extends java.util.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() |
public long nextLong()
nextLong in class java.util.Randompublic int nextInt()
nextInt in class java.util.Randompublic int nextInt(int n)
nextInt in class java.util.Randomprotected int next(int bits)
next in class java.util.Random