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