public class Random extends Object
Modifier and Type | Method and Description |
---|---|
protected int |
next(int bits) |
boolean |
nextBoolean() |
void |
nextBytes(byte[] data) |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int n) |
long |
nextLong() |
void |
setSeed(long seed) |
public void setSeed(long seed)
protected int next(int bits)
public void nextBytes(byte[] data)
public int nextInt()
public int nextInt(int n)
public long nextLong()
public boolean nextBoolean()
public float nextFloat()
public double nextDouble()
public double nextGaussian()