Class LazyArbitrary<T>

  • All Implemented Interfaces:
    net.jqwik.api.Arbitrary<T>, net.jqwik.api.configurators.SelfConfiguringArbitrary<T>

    public class LazyArbitrary<T>
    extends java.lang.Object
    implements net.jqwik.api.Arbitrary<T>, net.jqwik.api.configurators.SelfConfiguringArbitrary<T>
    • Nested Class Summary

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

        net.jqwik.api.Arbitrary.ArbitraryFacade
    • Constructor Summary

      Constructors 
      Constructor Description
      LazyArbitrary​(java.util.function.Supplier<net.jqwik.api.Arbitrary<T>> arbitrarySupplier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.jqwik.api.Arbitrary<T> configure​(net.jqwik.api.configurators.ArbitraryConfigurator configurator, net.jqwik.api.providers.TypeUsage targetType)  
      net.jqwik.api.EdgeCases<T> edgeCases()  
      net.jqwik.api.RandomGenerator<T> generator​(int genSize)  
      • 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.Arbitrary

        allValues, array, asGeneric, collect, dontShrink, edgeCases, exhaustive, exhaustive, filter, fixGenSize, flatMap, forEachValue, ignoreException, injectDuplicates, injectNull, isUnique, iterator, list, map, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, unique
    • Constructor Detail

      • LazyArbitrary

        public LazyArbitrary​(java.util.function.Supplier<net.jqwik.api.Arbitrary<T>> arbitrarySupplier)
    • Method Detail

      • generator

        public net.jqwik.api.RandomGenerator<T> generator​(int genSize)
        Specified by:
        generator in interface net.jqwik.api.Arbitrary<T>
      • edgeCases

        public net.jqwik.api.EdgeCases<T> edgeCases()
        Specified by:
        edgeCases in interface net.jqwik.api.Arbitrary<T>
      • configure

        public net.jqwik.api.Arbitrary<T> configure​(net.jqwik.api.configurators.ArbitraryConfigurator configurator,
                                                    net.jqwik.api.providers.TypeUsage targetType)
        Specified by:
        configure in interface net.jqwik.api.configurators.SelfConfiguringArbitrary<T>