Package com.carrotsearch.hppc
Class XorShift128P
- java.lang.Object
-
- com.carrotsearch.hppc.XorShift128P
-
public class XorShift128P extends java.lang.ObjectA fast pseudo-random number generator. For simplicity, we do not implement all ofRandommethods.- See Also:
- "http://xorshift.di.unimi.it/", "http://xorshift.di.unimi.it/xorshift128plus.c"
-
-
Constructor Summary
Constructors Constructor Description XorShift128P()XorShift128P(long seed)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intnextInt()intnextInt(int bound)longnextLong()private static longnotZero(long value)
-