Interface StatefulGenerator<T>
-
- Type Parameters:
T- type of the generated instance
- All Superinterfaces:
Generator<T>
- All Known Implementing Classes:
EnsuredValuesGenerator,UniqueComparableValuesGenerator,UniqueValuesGenerator
public interface StatefulGenerator<T> extends Generator<T>
Any generator keeping state information has to implemet this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreset()Resets the state of the generator to the state it had immediately after construction.
-
-
-
Method Detail
-
reset
void reset()
Resets the state of the generator to the state it had immediately after construction.Makes a heavy weight generator reusable.
-
-