Class Xoroshiro128Random

  • All Implemented Interfaces:
    java.io.Serializable

    public class Xoroshiro128Random
    extends java.util.Random
    xoroshiro128+ implementation based on work by David Blackman and Sebastiano Vigna. http://xoroshiro.di.unimi.it/xoroshiro128plus.c To the extent possible under law, the author has dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. See
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static double DOUBLE_BASE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int next​(int bits)  
      double nextDouble()  
      long nextLong()  
      • Methods inherited from class java.util.Random

        doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, nextBoolean, nextBytes, nextFloat, nextGaussian, nextInt, nextInt, setSeed
      • Methods inherited from class java.lang.Object

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

      • Xoroshiro128Random

        public Xoroshiro128Random()
      • Xoroshiro128Random

        public Xoroshiro128Random​(long[] state)
    • Method Detail

      • next

        public int next​(int bits)
        Overrides:
        next in class java.util.Random
      • nextDouble

        public double nextDouble()
        Overrides:
        nextDouble in class java.util.Random
      • nextLong

        public long nextLong()
        Overrides:
        nextLong in class java.util.Random