|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.random.AbstractRandomGenerator
org.apache.commons.math.random.TestRandomGenerator
public class TestRandomGenerator
Dummy AbstractRandomGenerator concrete subclass that just wraps a java.util.Random instance. Used by AbstractRandomGeneratorTest to test default implementations in AbstractRandomGenerator.
Constructor Summary | |
---|---|
TestRandomGenerator()
|
Method Summary | |
---|---|
double |
nextDouble()
|
void |
setSeed(long seed)
|
Methods inherited from class org.apache.commons.math.random.AbstractRandomGenerator |
---|
clear, nextBoolean, nextBytes, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed, setSeed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestRandomGenerator()
Method Detail |
---|
public void setSeed(long seed)
setSeed
in interface org.apache.commons.math.random.RandomGenerator
setSeed
in class org.apache.commons.math.random.AbstractRandomGenerator
public double nextDouble()
nextDouble
in interface org.apache.commons.math.random.RandomGenerator
nextDouble
in class org.apache.commons.math.random.AbstractRandomGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |