Package net.jqwik.api
Interface Combinators.ListCombinator<T>
- Enclosing class:
- Combinators
public static interface Combinators.ListCombinator<T>
Combinator for any number of values.
-
Method Details
-
as
Combine any number of values.- Type Parameters:
R
- return type- Parameters:
combinator
- function- Returns:
- arbitrary instance
-
filter
@API(status=EXPERIMENTAL, since="1.7.1") Combinators.ListCombinator<T> filter(Predicate<List<T>> filter) Filter list of values to only let them pass if the predicate is true.- Parameters:
filter
- function- Returns:
- combinator instance
-
flatAs
Combine list of values to create a new arbitrary.- Type Parameters:
R
- return type of arbitrary- Parameters:
flatCombinator
- function- Returns:
- arbitrary instance
-