public class Xorshift128PlusRandom extends Random
Random that implements the Xorshift 128 Plus
random number generator.
https://en.wikipedia.org/wiki/Xorshift| Constructor and Description |
|---|
Xorshift128PlusRandom() |
Xorshift128PlusRandom(int salt)
Constructor that receives an integer as 'salt'.
|
Xorshift128PlusRandom(long[] seed) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
next(int bits) |
long |
nextLong() |
public Xorshift128PlusRandom()
public Xorshift128PlusRandom(int salt)
salt - a number used to generate two seeds.public Xorshift128PlusRandom(long[] seed)
Copyright © 2020. All rights reserved.