@API(status=MAINTAINED,
since="1.0")
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) |
default ExhaustiveGenerator<T> |
injectNull() |
default boolean |
isUnique()
This is a hack to make unique work for exhaustive generation
|
default <U> ExhaustiveGenerator<U> |
map(java.util.function.Function<T,U> mapper) |
long |
maxCount() |
default ExhaustiveGenerator<T> |
unique() |
default ExhaustiveGenerator<T> |
withSamples(T[] samples) |
@API(status=INTERNAL, since="1.2.1") 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)
@API(status=INTERNAL) default boolean isUnique()
default ExhaustiveGenerator<T> unique()
default ExhaustiveGenerator<T> injectNull()
default ExhaustiveGenerator<T> withSamples(T[] samples)