java.lang.Object
de.cuioss.test.generator.internal.net.java.quickcheck.generator.support.VetoableGenerator<T>
de.cuioss.test.generator.internal.net.java.quickcheck.generator.support.UniqueValuesGenerator<T>
All Implemented Interfaces:
Generator<T>, StatefulGenerator<T>

public class UniqueValuesGenerator<T> extends VetoableGenerator<T>
  • Constructor Details

  • Method Details

    • tryValue

      protected boolean tryValue(T value)
      Specified by:
      tryValue in class VetoableGenerator<T>
      Returns:
      true to accept the current value.
    • reset

      public void reset()
      Description copied from interface: StatefulGenerator
      Resets the state of the generator to the state it had immediately after construction.

      Makes a heavy weight generator reusable.

      Specified by:
      reset in interface StatefulGenerator<T>