net.java.quickcheck.generator.support
Class IntegerGenerator

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

public class IntegerGenerator
extends Object


Constructor Summary
IntegerGenerator()
           
IntegerGenerator(int min, int max)
           
IntegerGenerator(int min, int max, Distribution dist)
           
 
Method Summary
 Integer next()
          Generates the next instance.
 int nextInt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerGenerator

public IntegerGenerator()

IntegerGenerator

public IntegerGenerator(int min,
                        int max)

IntegerGenerator

public IntegerGenerator(int min,
                        int max,
                        Distribution dist)
Method Detail

next

public Integer next()
Description copied from interface: Generator
Generates the next instance.

Returns:
a newly created instance

nextInt

public int nextInt()


Copyright © 2011. All Rights Reserved.