Class DefaultChainArbitrary<T>
java.lang.Object
net.jqwik.engine.properties.arbitraries.TypedCloneable
net.jqwik.engine.properties.state.DefaultChainArbitrary<T>
- All Implemented Interfaces:
Cloneable,net.jqwik.api.Arbitrary<net.jqwik.api.state.Chain<T>>,net.jqwik.api.state.ChainArbitrary<T>
public class DefaultChainArbitrary<T>
extends TypedCloneable
implements net.jqwik.api.state.ChainArbitrary<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
net.jqwik.api.Arbitrary.ArbitraryFacade -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.jqwik.api.EdgeCases<net.jqwik.api.state.Chain<T>>edgeCases(int maxEdgeCases) net.jqwik.api.RandomGenerator<net.jqwik.api.state.Chain<T>>generator(int genSize) net.jqwik.api.state.ChainArbitrary<T>improveShrinkingWith(Supplier<net.jqwik.api.state.ChangeDetector<T>> changeDetectorSupplier) booleannet.jqwik.api.state.ChainArbitrary<T>withMaxTransformations(int maxTransformations) net.jqwik.api.state.ChainArbitrary<T>withTransformation(int weight, net.jqwik.api.state.Transformation<T> transformation) Methods inherited from class net.jqwik.engine.properties.arbitraries.TypedCloneable
typedCloneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.jqwik.api.Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCasesMethods inherited from interface net.jqwik.api.state.ChainArbitrary
infinite, withTransformation
-
Constructor Details
-
DefaultChainArbitrary
-
-
Method Details
-
generator
- Specified by:
generatorin interfacenet.jqwik.api.Arbitrary<T>
-
withTransformation
public net.jqwik.api.state.ChainArbitrary<T> withTransformation(int weight, net.jqwik.api.state.Transformation<T> transformation) - Specified by:
withTransformationin interfacenet.jqwik.api.state.ChainArbitrary<T>
-
withMaxTransformations
- Specified by:
withMaxTransformationsin interfacenet.jqwik.api.state.ChainArbitrary<T>
-
improveShrinkingWith
public net.jqwik.api.state.ChainArbitrary<T> improveShrinkingWith(Supplier<net.jqwik.api.state.ChangeDetector<T>> changeDetectorSupplier) - Specified by:
improveShrinkingWithin interfacenet.jqwik.api.state.ChainArbitrary<T>
-
edgeCases
- Specified by:
edgeCasesin interfacenet.jqwik.api.Arbitrary<T>
-
isGeneratorMemoizable
public boolean isGeneratorMemoizable()- Specified by:
isGeneratorMemoizablein interfacenet.jqwik.api.Arbitrary<T>
-