org.databene.benerator.distribution
Class DistributingGenerator<E>
java.lang.Object
org.databene.benerator.util.AbstractGenerator<P>
org.databene.benerator.wrapper.GeneratorWrapper<E,E>
org.databene.benerator.wrapper.GeneratorProxy<E>
org.databene.benerator.distribution.DistributingGenerator<E>
- All Implemented Interfaces:
- java.io.Closeable, Generator<E>, org.databene.commons.Resettable, org.databene.commons.ThreadAware
public class DistributingGenerator<E>
- extends GeneratorProxy<E>
Collects all products a source Generator is able to generate,
puts them into a list and serves the list elements based on its
Distribution.
Created: 22.03.2010 10:45:48
- Since:
- 0.6.0
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DistributingGenerator
public DistributingGenerator(Generator<E> dataProvider,
Distribution distribution,
boolean unique)
init
public void init(GeneratorContext context)
- Specified by:
init in interface Generator<E>- Overrides:
init in class GeneratorWrapper<E,E>
Copyright © 2011. All Rights Reserved.