Class EnsuredValuesGenerator<T>
- java.lang.Object
-
- de.cuioss.test.generator.internal.net.java.quickcheck.generator.support.EnsuredValuesGenerator<T>
-
- All Implemented Interfaces:
Generator<T>,StatefulGenerator<T>
public class EnsuredValuesGenerator<T> extends Object implements StatefulGenerator<T>
-
-
Constructor Summary
Constructors Constructor Description EnsuredValuesGenerator(Iterable<T> values)EnsuredValuesGenerator(Iterable<T> ensured, int window, Generator<T> random)EnsuredValuesGenerator(Iterable<T> ensured, Generator<T> random)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tnext()Generates the next instance.voidreset()Resets the state of the generator to the state it had immediately after construction.
-
-
-
Constructor Detail
-
EnsuredValuesGenerator
public EnsuredValuesGenerator(Iterable<T> values)
-
EnsuredValuesGenerator
public EnsuredValuesGenerator(Iterable<T> ensured, Generator<T> random)
-
EnsuredValuesGenerator
public EnsuredValuesGenerator(Iterable<T> ensured, int window, Generator<T> random)
-
-
Method Detail
-
reset
public void reset()
Description copied from interface:StatefulGeneratorResets the state of the generator to the state it had immediately after construction.Makes a heavy weight generator reusable.
- Specified by:
resetin interfaceStatefulGenerator<T>
-
-