Package net.jqwik.api
Interface Combinators.Combinator8<T1,T2,T3,T4,T5,T6,T7,T8>
- Enclosing class:
- Combinators
public static interface Combinators.Combinator8<@Nullable T1,@Nullable T2,@Nullable T3,@Nullable T4,@Nullable T5,@Nullable T6,@Nullable T7,@Nullable T8>
Combinator for eight values.
-
Method Summary
Modifier and TypeMethodDescription<@Nullable R>
Arbitrary<R>as
(Combinators.F8<@Nullable T1, @Nullable T2, @Nullable T3, @Nullable T4, @Nullable T5, @Nullable T6, @Nullable T7, @Nullable T8, @Nullable R> combinator) Combine eight values.filter
(Combinators.F8<@Nullable T1, @Nullable T2, @Nullable T3, @Nullable T4, @Nullable T5, @Nullable T6, @Nullable T7, @Nullable T8, Boolean> filter) Filter eight values to only let them pass if the predicate is true.default <@Nullable R>
Arbitrary<R>flatAs
(Combinators.F8<@Nullable T1, @Nullable T2, @Nullable T3, @Nullable T4, @Nullable T5, @Nullable T6, @Nullable T7, @Nullable T8, Arbitrary<@Nullable R>> flatCombinator) Combine eight values to create a new arbitrary.
-
Method Details
-
as
<@Nullable R> Arbitrary<R> as(Combinators.F8<@Nullable T1, @Nullable T2, @Nullable T3, @Nullable T4, @Nullable T5, @Nullable T6, @Nullable T7, @Nullable T8, @Nullable R> combinator) Combine eight values.- Type Parameters:
R
- return type- Parameters:
combinator
- function- Returns:
- arbitrary instance
-
filter
@API(status=MAINTAINED, since="1.8.0") Combinators.Combinator8<T1,T2, filterT3, T4, T5, T6, T7, T8> (Combinators.F8<@Nullable T1, @Nullable T2, @Nullable T3, @Nullable T4, @Nullable T5, @Nullable T6, @Nullable T7, @Nullable T8, Boolean> filter) Filter eight values to only let them pass if the predicate is true.- Parameters:
filter
- function- Returns:
- combinator instance
-
flatAs
default <@Nullable R> Arbitrary<R> flatAs(Combinators.F8<@Nullable T1, @Nullable T2, @Nullable T3, @Nullable T4, @Nullable T5, @Nullable T6, @Nullable T7, @Nullable T8, Arbitrary<@Nullable R>> flatCombinator) Combine eight values to create a new arbitrary.- Type Parameters:
R
- return type of arbitrary- Parameters:
flatCombinator
- function- Returns:
- arbitrary instance
-