Class XORShiftRandom

    • Constructor Detail

      • XORShiftRandom

        public XORShiftRandom()
      • XORShiftRandom

        public XORShiftRandom​(long input)
    • Method Detail

      • next

        public int next​(int bits)
        All other methods like nextInt()/nextDouble()... depends on this, so we just need to overwrite this.
        Overrides:
        next in class Random
        Parameters:
        bits - Random bits
        Returns:
        The next pseudorandom value from this random number generator's sequence