|
||||||||||
| 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 |
| 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.RandomGeneratorsetSeed in class org.apache.commons.math.random.AbstractRandomGeneratorpublic double nextDouble()
nextDouble in interface org.apache.commons.math.random.RandomGeneratornextDouble in class org.apache.commons.math.random.AbstractRandomGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||