net.java.quickcheck.generator.support
Class DoubleGenerator
java.lang.Object
net.java.quickcheck.generator.support.DoubleGenerator
- All Implemented Interfaces:
- Generator<Double>
public class DoubleGenerator
- extends Object
- implements Generator<Double>
DoubleGenerator
public DoubleGenerator()
DoubleGenerator
public DoubleGenerator(double min,
double max)
DoubleGenerator
public DoubleGenerator(double min,
double max,
Distribution dist)
next
public Double next()
- Description copied from interface:
Generator
- Generates the next instance.
- Specified by:
next
in interface Generator<Double>
- Returns:
- a newly created instance
nextDouble
public double nextDouble()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.