Class XorShift128P


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int nextInt()  
      int nextInt​(int bound)  
      long nextLong()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XorShift128P

        public XorShift128P​(long seed)
      • XorShift128P

        public XorShift128P()
    • Method Detail

      • nextLong

        public long nextLong()
      • nextInt

        public int nextInt()
      • nextInt

        public int nextInt​(int bound)