Class FrequencyOfArbitrary<T>
java.lang.Object
net.jqwik.engine.properties.arbitraries.FrequencyOfArbitrary<T>
- All Implemented Interfaces:
net.jqwik.api.Arbitrary<T>,net.jqwik.api.configurators.SelfConfiguringArbitrary<T>
public class FrequencyOfArbitrary<T>
extends 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
ConstructorsConstructorDescriptionFrequencyOfArbitrary(List<net.jqwik.api.Tuple.Tuple2<Integer, net.jqwik.api.Arbitrary<T>>> frequencies) -
Method Summary
Modifier and TypeMethodDescriptionnet.jqwik.api.Arbitrary<T>configure(net.jqwik.api.configurators.ArbitraryConfigurator configurator, net.jqwik.api.providers.TypeUsage targetType) net.jqwik.api.EdgeCases<T>edgeCases(int maxEdgeCases) booleanexhaustive(long maxNumberOfSamples) net.jqwik.api.RandomGenerator<T>generator(int genSize) net.jqwik.api.RandomGenerator<T>generatorWithEmbeddedEdgeCases(int genSize) inthashCode()booleanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.jqwik.api.Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
-
Constructor Details
-
FrequencyOfArbitrary
-
-
Method Details
-
generator
- Specified by:
generatorin interfacenet.jqwik.api.Arbitrary<T>
-
generatorWithEmbeddedEdgeCases
- Specified by:
generatorWithEmbeddedEdgeCasesin interfacenet.jqwik.api.Arbitrary<T>
-
isGeneratorMemoizable
public boolean isGeneratorMemoizable()- Specified by:
isGeneratorMemoizablein interfacenet.jqwik.api.Arbitrary<T>
-
exhaustive
- Specified by:
exhaustivein interfacenet.jqwik.api.Arbitrary<T>
-
edgeCases
- Specified by:
edgeCasesin interfacenet.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:
configurein interfacenet.jqwik.api.configurators.SelfConfiguringArbitrary<T>
-
equals
-
hashCode
public int hashCode()
-