Package net.jqwik.api
Schnittstelle Combinators.ListCombinator<T extends @Nullable Object>
- Umschließende Klasse:
Combinators
public static interface Combinators.ListCombinator<T extends @Nullable Object>
Combinator for any number of values.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungCombine any number of values.Filter list of values to only let them pass if the predicate is true.Combine list of values to create a new arbitrary.
-
Methodendetails
-
as
Combine any number of values.- Typparameter:
R
- return type- Parameter:
combinator
- function- Gibt zurück:
- arbitrary instance
-
filter
@API(status=MAINTAINED, since="1.8.0") Combinators.ListCombinator<T> filter(Predicate<? super List<? extends T>> filter) Filter list of values to only let them pass if the predicate is true.- Parameter:
filter
- function- Gibt zurück:
- combinator instance
-
flatAs
default <R extends @Nullable Object> Arbitrary<R> flatAs(Function<? super List<? extends T>, ? extends Arbitrary<R>> flatCombinator) Combine list of values to create a new arbitrary.- Typparameter:
R
- return type of arbitrary- Parameter:
flatCombinator
- function- Gibt zurück:
- arbitrary instance
-