public static class RandomUtils.XorShiftRNG
extends java.util.Random
Random
, however it can be used as an alternative.Constructor and Description |
---|
RandomUtils.XorShiftRNG(long seed) |
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