Class FilteredExhaustiveGenerator<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>, net.jqwik.api.ExhaustiveGenerator<T>

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

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

        net.jqwik.api.ExhaustiveGenerator.ExhaustiveGeneratorFacade
    • Field Summary

      • Fields inherited from interface net.jqwik.api.ExhaustiveGenerator

        MAXIMUM_SAMPLES_TO_GENERATE
    • Constructor Summary

      Constructors 
      Constructor Description
      FilteredExhaustiveGenerator​(net.jqwik.api.ExhaustiveGenerator<T> toFilter, java.util.function.Predicate<T> filter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<T> iterator()  
      long maxCount()  
      • Methods inherited from class java.lang.Object

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

        filter, ignoreException, injectNull, map, unique
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • FilteredExhaustiveGenerator

        public FilteredExhaustiveGenerator​(net.jqwik.api.ExhaustiveGenerator<T> toFilter,
                                           java.util.function.Predicate<T> filter)
    • Method Detail

      • maxCount

        public long maxCount()
        Specified by:
        maxCount in interface net.jqwik.api.ExhaustiveGenerator<T>
      • iterator

        public java.util.Iterator<T> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T>