net.java.quickcheck.generator.support
Class FixedValuesGenerator<T>

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

public class FixedValuesGenerator<T>
extends Object
implements Generator<T>


Constructor Summary
FixedValuesGenerator()
           
FixedValuesGenerator(Collection<T> values)
           
FixedValuesGenerator(T value)
           
 
Method Summary
 T next()
          Generates the next instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedValuesGenerator

public FixedValuesGenerator()

FixedValuesGenerator

public FixedValuesGenerator(T value)

FixedValuesGenerator

public FixedValuesGenerator(Collection<T> values)
Method Detail

next

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

Specified by:
next in interface Generator<T>
Returns:
a newly created instance


Copyright © 2011. All Rights Reserved.