Package net.jqwik.api
Klasse Arbitrary.ArbitraryFacade
java.lang.Object
net.jqwik.api.Arbitrary.ArbitraryFacade
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract <T extends @Nullable Object,
A>
ArrayArbitrary<T, A> configureEdgeCases
(Arbitrary<T> self, Consumer<? super EdgeCases.Config<T>> configurator) dontShrink
(Arbitrary<T> self) fixGenSize
(Arbitrary<T> self, int genSize) ignoreExceptions
(Arbitrary<T> self, int maxThrows, Class<? extends Throwable>[] exceptionTypes) injectNull
(Arbitrary<T> self, double nullProbability) abstract <T extends @Nullable Object>
IteratorArbitrary<T> abstract <T extends @Nullable Object>
ListArbitrary<T> abstract <T extends @Nullable Object>
RandomGenerator<T> memoizedGenerator
(Arbitrary<T> self, int genSize, boolean withEdgeCases) sampleStream
(Arbitrary<T> arbitrary) abstract <T extends @Nullable Object>
SetArbitrary<T> abstract <T extends @Nullable Object>
StreamArbitrary<T> withoutEdgeCases
(Arbitrary<T> self)
-
Konstruktordetails
-
ArbitraryFacade
public ArbitraryFacade()
-
-
Methodendetails
-
list
-
set
-
stream
public abstract <T extends @Nullable Object> StreamArbitrary<T> stream(Arbitrary<T> elementArbitrary) -
iterator
public abstract <T extends @Nullable Object> IteratorArbitrary<T> iterator(Arbitrary<T> elementArbitrary) -
array
public abstract <T extends @Nullable Object,A> ArrayArbitrary<T,A> array(Arbitrary<T> elementArbitrary, Class<A> arrayClass) -
sampleStream
-
injectNull
-
filter
-
map
-
flatMap
-
ignoreExceptions
-
dontShrink
-
configureEdgeCases
public abstract <T extends @Nullable Object> Arbitrary<T> configureEdgeCases(Arbitrary<T> self, Consumer<? super EdgeCases.Config<T>> configurator) -
withoutEdgeCases
-
memoizedGenerator
public abstract <T extends @Nullable Object> RandomGenerator<T> memoizedGenerator(Arbitrary<T> self, int genSize, boolean withEdgeCases) -
fixGenSize
-
collect
-