net.java.quickcheck
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
 void reset()
          Resets the state of the generator to the state it had immediately after construction.
 
Methods inherited from interface net.java.quickcheck.Generator
next
 

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.



Copyright © 2011. All Rights Reserved.