Package net.jqwik.api
Class Arbitrary.ArbitraryFacade
java.lang.Object
net.jqwik.api.Arbitrary.ArbitraryFacade
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract <T,
A> ArrayArbitrary<T, A> abstract <T> Arbitrary<T>
configureEdgeCases
(Arbitrary<T> self, Consumer<EdgeCases.Config<T>> configurator) abstract <T> Arbitrary<T>
dontShrink
(Arbitrary<T> self) abstract <T> Arbitrary<T>
abstract <T> Arbitrary<T>
fixGenSize
(Arbitrary<T> self, int genSize) abstract <T,
U> Arbitrary<U> abstract <T> Arbitrary<T>
ignoreExceptions
(Arbitrary<T> self, Class<? extends Throwable>[] exceptionTypes) abstract <T> Arbitrary<T>
injectNull
(Arbitrary<T> self, double nullProbability) abstract <T> IteratorArbitrary<T>
abstract <T> ListArbitrary<T>
abstract <T,
U> Arbitrary<U> abstract <T> RandomGenerator<T>
memoizedGenerator
(Arbitrary<T> self, int genSize, boolean withEdgeCases) abstract <T> Stream<T>
sampleStream
(Arbitrary<T> arbitrary) abstract <T> SetArbitrary<T>
abstract <T> StreamArbitrary<T>
abstract <T> Arbitrary<T>
withoutEdgeCases
(Arbitrary<T> self)
-
Constructor Details
-
ArbitraryFacade
public ArbitraryFacade()
-
-
Method Details
-
list
-
set
-
stream
-
iterator
-
array
public abstract <T,A> ArrayArbitrary<T,A> array(Arbitrary<T> elementArbitrary, Class<A> arrayClass) -
sampleStream
-
injectNull
-
filter
-
map
-
flatMap
-
ignoreExceptions
-
dontShrink
-
configureEdgeCases
public abstract <T> Arbitrary<T> configureEdgeCases(Arbitrary<T> self, Consumer<EdgeCases.Config<T>> configurator) -
withoutEdgeCases
-
memoizedGenerator
public abstract <T> RandomGenerator<T> memoizedGenerator(Arbitrary<T> self, int genSize, boolean withEdgeCases) -
fixGenSize
-
collect
-