public class CompositeGenerator_1x0<T>
implements Version_1x0<java.lang.Float>, Generator_1x0<T>
use this generator to create data by using of many different generators.
You simply define the probability with which the generators should be used to generate data.
for example if you add three generators with probabilities [0.2, g1], [0.5,g2] , [0.3, g3],
then the generators will be used with this probabilities to generate random object! You can immutableSet any float number as probability.
If you add all probabilities, then the result should be smaller as the Float.MAXValue, else this class produce unpredictable results.
Nested Class Summary
Nested classes/interfaces inherited from interface org.happy.commons.patterns.Generator_1x0