Module de.cuioss.test.generator
Interface StatefulGenerator<T>
- Type Parameters:
T- type of the generated instance
- All Superinterfaces:
Generator<T>
- All Known Implementing Classes:
EnsuredValuesGenerator,UniqueComparableValuesGenerator,UniqueValuesGenerator
Any generator keeping state information has to implemet this interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidreset()Resets the state of the generator to the state it had immediately after construction.
-
Method Details
-
reset
void reset()Resets the state of the generator to the state it had immediately after construction.Makes a heavy weight generator reusable.
-