Interface FrequencyGenerator<T>
-
- All Superinterfaces:
ExtendibleGenerator<T,T>,Generator<T>
- All Known Implementing Classes:
DefaultFrequencyGenerator
public interface FrequencyGenerator<T> extends ExtendibleGenerator<T,T>
Create a frequency generator. The frequency of
Generatorusage depends on the generator weight.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FrequencyGenerator<T>add(Generator<T> gen, int weight)Add a new input generator.-
Methods inherited from interface de.cuioss.test.generator.internal.net.java.quickcheck.ExtendibleGenerator
add
-
-
-
-
Method Detail
-
add
FrequencyGenerator<T> add(Generator<T> gen, int weight)
Add a new input generator.- Parameters:
gen- input generatorweight- weight of this generator- Returns:
- this generator
-
-