public final class RandomWrapper extends Random
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.random.RandomGenerator |
getRandomGenerator() |
protected int |
next(int bits) |
boolean |
nextBoolean() |
void |
nextBytes(byte[] bytes) |
double |
nextDouble() |
float |
nextFloat() |
double |
nextGaussian() |
int |
nextInt() |
int |
nextInt(int n) |
long |
nextLong() |
void |
setSeed(long seed) |
public org.apache.commons.math3.random.RandomGenerator getRandomGenerator()
public boolean nextBoolean()
nextBoolean
in class Random
public double nextDouble()
nextDouble
in class Random
public double nextGaussian()
nextGaussian
in class Random
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.