Package net.jqwik.api
Interface ExhaustiveGenerator<T extends @Nullable Object>
- All Superinterfaces:
Iterable<T>
@API(status=INTERNAL)
public interface ExhaustiveGenerator<T extends @Nullable Object>
extends Iterable<T>
Used only internally to run and compute exhaustive generation of parameters
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExhaustiveGenerator<T>
default ExhaustiveGenerator<T>
ignoreExceptions
(int maxThrows, Class<? extends Throwable>[] exceptionTypes) default ExhaustiveGenerator<T>
default <U extends @Nullable Object>
ExhaustiveGenerator<U>long
maxCount()
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
MAXIMUM_SAMPLES_TO_GENERATE
static final long MAXIMUM_SAMPLES_TO_GENERATE- See Also:
-
-
Method Details
-
maxCount
long maxCount()- Returns:
- the maximum number of values that will be generated
-
map
default <U extends @Nullable Object> ExhaustiveGenerator<U> map(Function<? super T, ? extends U> mapper) -
filter
-
injectNull
-
ignoreExceptions
default ExhaustiveGenerator<T> ignoreExceptions(int maxThrows, Class<? extends Throwable>[] exceptionTypes)
-