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.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