net.java.quickcheck.generator.support
Class DoubleGenerator

java.lang.Object
  extended by net.java.quickcheck.generator.support.DoubleGenerator
All Implemented Interfaces:
Generator<Double>

public class DoubleGenerator
extends Object
implements Generator<Double>


Constructor Summary
DoubleGenerator()
           
DoubleGenerator(double min, double max)
           
DoubleGenerator(double min, double max, Distribution dist)
           
 
Method Summary
 Double next()
          Generates the next instance.
 double nextDouble()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleGenerator

public DoubleGenerator()

DoubleGenerator

public DoubleGenerator(double min,
                       double max)

DoubleGenerator

public DoubleGenerator(double min,
                       double max,
                       Distribution dist)
Method Detail

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.