public static class RandomUtils.XorShiftRNG extends RandomBase
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() |
doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, nextLong
public long nextLong()
nextLong
in class java.util.Random
public int nextInt()
nextInt
in class java.util.Random
public int nextInt(int n)
nextInt
in class java.util.Random
protected int next(int bits)
next
in class java.util.Random