Skip to main content


net.java.quickcheck
Interface Generator<T>

Type Parameters:
T - type of generated instances
All Known Subinterfaces:
ExtendibleGenerator<I,T>, FrequencyGenerator<T>, ObjectGenerator<T>, StatefulGenerator<T>
All Known Implementing Classes:
AbstractTransformerGenerator, AbstractTreeGenerator, ArrayGenerator, ByteArrayGenerator, ByteGenerator, CharacterGenerator, CloningGenerator, CloningMutationGenerator, DateGenerator, DefaultFrequencyGenerator, DoubleGenerator, EnsuredValuesGenerator, ExcludingGenerator, FixedValuesGenerator, IntegerArrayGenerator, IntegerGenerator, IteratorGenerator, ListGenerator, LongGenerator, MapGenerator, MutationGenerator, ObjectDefaultMappingGenerator, ObjectGenerator, ObjectGeneratorImpl, RoundRobinGenerator, SetGenerator, SortedListGenerator, StringGenerator, SubmapGenerator, SubsetGenerator, UniqueComparableValuesGenerator, UniqueValuesGenerator, VetoableGenerator

public interface Generator<T>

A generator creates instances of type T supposed to be checked against a Characteristic specification.


Method Summary
 T next()
          Generates the next instance.
 

Method Detail

next

T next()
Generates the next instance.

Returns:
a newly created instance


Copyright © 2011. All Rights Reserved.
 
 
Close
loading
Please Confirm
Close