public class MersenneRandom extends Random
Constructor and Description |
---|
MersenneRandom() |
MersenneRandom(long seed) |
Modifier and Type | Method and Description |
---|---|
protected int |
next(int bits) |
boolean |
nextBoolean() |
void |
nextBytes(byte[] bytes) |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int n) |
long |
nextLong() |
void |
shuffle(List coll) |
void |
shuffle(Object[] coll) |
nextDouble, setSeed
public MersenneRandom()
public MersenneRandom(long seed)
public boolean nextBoolean()
nextBoolean
in class Random
public double nextGaussian()
nextGaussian
in class Random
public void shuffle(Object[] coll)
public void shuffle(List coll)
Copyright © 2015. All rights reserved.