org.apache.commons.math3.random
Class TestRandomGenerator
java.lang.Object
org.apache.commons.math3.random.AbstractRandomGenerator
org.apache.commons.math3.random.TestRandomGenerator
- All Implemented Interfaces:
- RandomGenerator
public class TestRandomGenerator
- extends AbstractRandomGenerator
Dummy AbstractRandomGenerator concrete subclass that just wraps a
java.util.Random instance. Used by AbstractRandomGeneratorTest to test
default implementations in AbstractRandomGenerator.
- Version:
- $Id: TestRandomGenerator.java 1244107 2012-02-14 16:17:55Z erans $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestRandomGenerator
public TestRandomGenerator()
setSeed
public void setSeed(long seed)
- Specified by:
setSeed in interface RandomGenerator- Specified by:
setSeed in class AbstractRandomGenerator
nextDouble
public double nextDouble()
- Specified by:
nextDouble in interface RandomGenerator- Specified by:
nextDouble in class AbstractRandomGenerator
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.