Class UniqueValuesGenerator<T>

    • Method Detail

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