org.apache.commons.math3.random
Class RandomAdaptorTest.ConstantGenerator
java.lang.Object
org.apache.commons.math3.random.RandomAdaptorTest.ConstantGenerator
- All Implemented Interfaces:
- RandomGenerator
- Enclosing class:
- RandomAdaptorTest
public static class RandomAdaptorTest.ConstantGenerator
- extends Object
- implements RandomGenerator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomAdaptorTest.ConstantGenerator
public RandomAdaptorTest.ConstantGenerator()
RandomAdaptorTest.ConstantGenerator
public RandomAdaptorTest.ConstantGenerator(double value)
nextBoolean
public boolean nextBoolean()
- Specified by:
nextBoolean in interface RandomGenerator
nextBytes
public void nextBytes(byte[] bytes)
- Specified by:
nextBytes in interface RandomGenerator
nextDouble
public double nextDouble()
- Specified by:
nextDouble in interface RandomGenerator
nextFloat
public float nextFloat()
- Specified by:
nextFloat in interface RandomGenerator
nextGaussian
public double nextGaussian()
- Specified by:
nextGaussian in interface RandomGenerator
nextInt
public int nextInt()
- Specified by:
nextInt in interface RandomGenerator
nextInt
public int nextInt(int n)
- Specified by:
nextInt in interface RandomGenerator
nextLong
public long nextLong()
- Specified by:
nextLong in interface RandomGenerator
setSeed
public void setSeed(int seed)
- Specified by:
setSeed in interface RandomGenerator
setSeed
public void setSeed(int[] seed)
- Specified by:
setSeed in interface RandomGenerator
setSeed
public void setSeed(long seed)
- Specified by:
setSeed in interface RandomGenerator
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.