Package net.jqwik.api
Interface Combinators.Combinator4<T1,T2,T3,T4>
-
- Enclosing class:
- Combinators
public static interface Combinators.Combinator4<T1,T2,T3,T4>
Combinator for four values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <R> Arbitrary<R>
as(Combinators.F4<T1,T2,T3,T4,@NotNull R> combinator)
Combine four values.Combinators.Combinator4<T1,T2,T3,T4>
filter(Combinators.F4<T1,T2,T3,T4,java.lang.Boolean> filter)
Filter four values to only let them pass if the predicate is true.default <R> Arbitrary<R>
flatAs(Combinators.F4<T1,T2,T3,T4,Arbitrary<@NotNull R>> flatCombinator)
Combine four values to create a new arbitrary.
-
-
-
Method Detail
-
as
<R> Arbitrary<R> as(Combinators.F4<T1,T2,T3,T4,@NotNull R> combinator)
Combine four values.- Type Parameters:
R
- return type- Parameters:
combinator
- function- Returns:
- arbitrary instance
-
filter
@API(status=EXPERIMENTAL, since="1.7.1") Combinators.Combinator4<T1,T2,T3,T4> filter(Combinators.F4<T1,T2,T3,T4,java.lang.Boolean> filter)
Filter four values to only let them pass if the predicate is true.- Parameters:
filter
- function- Returns:
- combinator instance
-
-