Class XorShift128P

java.lang.Object
com.carrotsearch.hppc.XorShift128P

public class XorShift128P extends Object
A fast pseudo-random number generator. For simplicity, we do not implement all of Random methods.
See Also:
  • "https://xorshift.di.unimi.it/"
  • "https://xorshift.di.unimi.it/xorshift128plus.c"
  • Constructor Details

    • XorShift128P

      public XorShift128P(long seed)
    • XorShift128P

      public XorShift128P()
  • Method Details

    • nextLong

      public long nextLong()
    • nextInt

      public int nextInt()
    • nextInt

      public int nextInt(int bound)