public class Random extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
haveNextNextGaussian
haveNextNextGaussian
|
protected double |
nextNextGaussian
nextNextGaussian
|
protected long |
seed
seed
|
Modifier and Type | Method and Description |
---|---|
protected int |
next(int i) |
void |
nextBytes(byte[] abyte0) |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int i) |
long |
nextLong() |
void |
setSeed(long l) |
protected long seed
protected double nextNextGaussian
protected boolean haveNextNextGaussian
protected int next(int i)
i
- ?public void nextBytes(byte[] abyte0)
abyte0
- ?public double nextDouble()
public float nextFloat()
public double nextGaussian()
public int nextInt()
public int nextInt(int i)
i
- ?public long nextLong()
public void setSeed(long l)
l
- ?