org.databene.benerator.wrapper
Class MultiSourceArrayGenerator<S>
java.lang.Object
org.databene.benerator.util.AbstractGenerator<P>
org.databene.benerator.wrapper.GeneratorWrapper<E,E>
org.databene.benerator.wrapper.GeneratorProxy<S[]>
org.databene.benerator.wrapper.MultiSourceArrayGenerator<S>
- All Implemented Interfaces:
- java.io.Closeable, Generator<S[]>, org.databene.commons.Resettable, org.databene.commons.ThreadAware
public class MultiSourceArrayGenerator<S>
- extends GeneratorProxy<S[]>
Keeps an array of generators, of which it combines the products to an array.
Created: 28.07.2010 19:10:53
- Since:
- 0.1
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MultiSourceArrayGenerator
public MultiSourceArrayGenerator(java.lang.Class<S> componentType,
boolean unique,
Generator<? extends S>... sources)
setUnique
public void setUnique(boolean unique)
getSources
public Generator<? extends S>[] getSources()
setSources
public void setSources(Generator<? extends S>[] sources)
init
public void init(GeneratorContext context)
- Specified by:
init
in interface Generator<S[]>
- Overrides:
init
in class GeneratorWrapper<S[],S[]>
Copyright © 2013. All Rights Reserved.