public static interface Combinators.Combinator2<T1,T2>
| Modifier and Type | Method and Description |
|---|---|
<R> Arbitrary<R> |
as(Combinators.F2<T1,T2,R> combinator)
Combine two values.
|
Combinators.Combinator2<T1,T2> |
filter(Combinators.F2<T1,T2,java.lang.Boolean> filter)
Filter two values to only let them pass if the predicate is true.
|
default <R> Arbitrary<R> |
flatAs(Combinators.F2<T1,T2,Arbitrary<R>> flatCombinator)
Combine two values to create a new arbitrary.
|
<R> Arbitrary<R> as(Combinators.F2<T1,T2,R> combinator)
R - return typecombinator - function@API(status=MAINTAINED,
since="1.8.0")
Combinators.Combinator2<T1,T2> filter(Combinators.F2<T1,T2,java.lang.Boolean> filter)
filter - functiondefault <R> Arbitrary<R> flatAs(Combinators.F2<T1,T2,Arbitrary<R>> flatCombinator)
R - return type of arbitraryflatCombinator - function