Class FrequencyOfArbitrary<T>

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

    public class FrequencyOfArbitrary<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
      FrequencyOfArbitrary​(java.util.List<net.jqwik.api.Tuple.Tuple2<java.lang.Integer,​net.jqwik.api.Arbitrary<T>>> frequencies)  
    • 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()  
      java.util.Optional<net.jqwik.api.ExhaustiveGenerator<T>> exhaustive​(long maxNumberOfSamples)  
      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, filter, fixGenSize, flatMap, forEachValue, ignoreException, injectDuplicates, injectNull, isUnique, iterator, list, map, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, unique
    • Constructor Detail

      • FrequencyOfArbitrary

        public FrequencyOfArbitrary​(java.util.List<net.jqwik.api.Tuple.Tuple2<java.lang.Integer,​net.jqwik.api.Arbitrary<T>>> frequencies)
    • Method Detail

      • generator

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

        public java.util.Optional<net.jqwik.api.ExhaustiveGenerator<T>> exhaustive​(long maxNumberOfSamples)
        Specified by:
        exhaustive 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>