Class CollectGenerator<T>

java.lang.Object
net.jqwik.engine.properties.arbitraries.randomized.CollectGenerator<T>
All Implemented Interfaces:
net.jqwik.api.RandomGenerator<List<T>>

public class CollectGenerator<T> extends Object implements net.jqwik.api.RandomGenerator<List<T>>
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    CollectGenerator(net.jqwik.api.RandomGenerator<T> elementGenerator, Predicate<List<T>> until)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.jqwik.api.Shrinkable<List<T>>
    next(Random random)
     

    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.RandomGenerator

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

    • CollectGenerator

      public CollectGenerator(net.jqwik.api.RandomGenerator<T> elementGenerator, Predicate<List<T>> until)
  • Method Details

    • next

      public net.jqwik.api.Shrinkable<List<T>> next(Random random)
      Specified by:
      next in interface net.jqwik.api.RandomGenerator<T>