public class XOR128 extends Random
Constructor and Description |
---|
XOR128()
Creates a new PRNG with a random seed
|
XOR128(long seed)
Creates a new PRNG
|
Modifier and Type | Method and Description |
---|---|
protected int |
next(int bits) |
double |
nextDouble() |
long |
nextLong() |
void |
setSeed(long seed) |
public XOR128()
public XOR128(long seed)
seed
- the seed that controls the initial state of the PRNGsetSeed(long)
Copyright © 2017. All rights reserved.