Class MappedExhaustiveGenerator<T,U>

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

public class MappedExhaustiveGenerator<T,U> extends 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, Function<T,U> mapper)
     
  • 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

    • MappedExhaustiveGenerator

      public MappedExhaustiveGenerator(net.jqwik.api.ExhaustiveGenerator<T> toMap, Function<T,U> mapper)
  • Method Details

    • maxCount

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

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