Package net.jqwik.api
Schnittstelle Combinators.Combinator4<T1 extends @Nullable Object,T2 extends @Nullable Object,T3 extends @Nullable Object,T4 extends @Nullable Object>
- Umschließende Klasse:
Combinators
public static interface Combinators.Combinator4<T1 extends @Nullable Object,T2 extends @Nullable Object,T3 extends @Nullable Object,T4 extends @Nullable Object>
Combinator for four values.
-
Methodenübersicht
-
Methodendetails
-
as
<R extends @Nullable Object> Arbitrary<R> as(Combinators.F4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R> combinator) Combine four values.- Typparameter:
R
- return type- Parameter:
combinator
- function- Gibt zurück:
- arbitrary instance
-
filter
@API(status=MAINTAINED, since="1.8.0") Combinators.Combinator4<T1,T2, filterT3, T4> (Combinators.F4<? super T1, ? super T2, ? super T3, ? super T4, Boolean> filter) Filter four 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(Combinators.F4<? super T1, ? super T2, ? super T3, ? super T4, ? extends Arbitrary<R>> flatCombinator) Combine four values to create a new arbitrary.- Typparameter:
R
- return type of arbitrary- Parameter:
flatCombinator
- function- Gibt zurück:
- arbitrary instance
-