Class UniqueGenerator<T>

  • All Implemented Interfaces:
    net.jqwik.api.RandomGenerator<T>

    public class UniqueGenerator<T>
    extends java.lang.Object
    implements net.jqwik.api.RandomGenerator<T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.jqwik.api.RandomGenerator

        net.jqwik.api.RandomGenerator.RandomGeneratorFacade
    • Constructor Summary

      Constructors 
      Constructor Description
      UniqueGenerator​(net.jqwik.api.RandomGenerator<T> toFilter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.jqwik.api.Shrinkable<T> next​(java.util.Random random)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface net.jqwik.api.RandomGenerator

        collect, dontShrink, filter, flatMap, flatMap, ignoreException, injectDuplicates, map, mapShrinkable, stream, unique, withEdgeCases
    • Constructor Detail

      • UniqueGenerator

        public UniqueGenerator​(net.jqwik.api.RandomGenerator<T> toFilter)
    • Method Detail

      • next

        public net.jqwik.api.Shrinkable<T> next​(java.util.Random random)
        Specified by:
        next in interface net.jqwik.api.RandomGenerator<T>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object