Class FilteredExhaustiveGenerator<T>

java.lang.Object
net.jqwik.engine.properties.arbitraries.exhaustive.FilteredExhaustiveGenerator<T>
All Implemented Interfaces:
Iterable<T>, net.jqwik.api.ExhaustiveGenerator<T>

public class FilteredExhaustiveGenerator<T> extends 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, Predicate<T> filter, int maxMisses)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
     

    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, ignoreExceptions, injectNull, map

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • FilteredExhaustiveGenerator

      public FilteredExhaustiveGenerator(net.jqwik.api.ExhaustiveGenerator<T> toFilter, Predicate<T> filter, int maxMisses)
  • Method Details

    • maxCount

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

      public Iterator<T> iterator()
      Specified by:
      iterator in interface Iterable<T>