Class MappedExhaustiveGenerator<T,​U>

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

    public class MappedExhaustiveGenerator<T,​U>
    extends java.lang.Object
    implements net.jqwik.api.ExhaustiveGenerator<U>
    • 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
      MappedExhaustiveGenerator​(net.jqwik.api.ExhaustiveGenerator<T> toMap, java.util.function.Function<T,​U> mapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<U> 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

      • MappedExhaustiveGenerator

        public MappedExhaustiveGenerator​(net.jqwik.api.ExhaustiveGenerator<T> toMap,
                                         java.util.function.Function<T,​U> mapper)
    • Method Detail

      • maxCount

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

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