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

    Modifier and Type
    Method
    Description
    void
    Resets the state of the generator to the state it had immediately after construction.

    Methods inherited from interface de.cuioss.test.generator.internal.net.java.quickcheck.Generator

    next
  • 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.