@API(status=INTERNAL)
public interface ExhaustiveGenerator<T>
extends java.lang.Iterable<T>
Modifier and Type | Interface and Description |
---|---|
static class |
ExhaustiveGenerator.ExhaustiveGeneratorFacade |
Modifier and Type | Field and Description |
---|---|
static long |
MAXIMUM_SAMPLES_TO_GENERATE |
Modifier and Type | Method and Description |
---|---|
default ExhaustiveGenerator<T> |
filter(java.util.function.Predicate<T> filterPredicate,
int maxMisses) |
default ExhaustiveGenerator<T> |
ignoreExceptions(int maxThrows,
java.lang.Class<? extends java.lang.Throwable>[] exceptionTypes) |
default ExhaustiveGenerator<T> |
injectNull() |
default <U> ExhaustiveGenerator<U> |
map(java.util.function.Function<T,U> mapper) |
long |
maxCount() |
static final long MAXIMUM_SAMPLES_TO_GENERATE
long maxCount()
default <U> ExhaustiveGenerator<U> map(java.util.function.Function<T,U> mapper)
default ExhaustiveGenerator<T> filter(java.util.function.Predicate<T> filterPredicate, int maxMisses)
default ExhaustiveGenerator<T> injectNull()
default ExhaustiveGenerator<T> ignoreExceptions(int maxThrows, java.lang.Class<? extends java.lang.Throwable>[] exceptionTypes)