Package net.jqwik.api
Class Combinators.Combinator2<T1,T2>
- java.lang.Object
-
- net.jqwik.api.Combinators.Combinator2<T1,T2>
-
- Enclosing class:
- Combinators
public static class Combinators.Combinator2<T1,T2> extends java.lang.Object
Combinator for two values.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Arbitrary<R>
as(Combinators.F2<T1,T2,R> combinator)
Combine two values.<R> Arbitrary<R>
flatAs(Combinators.F2<T1,T2,Arbitrary<R>> flatCombinator)
-
-
-
Method Detail
-
as
public <R> Arbitrary<R> as(Combinators.F2<T1,T2,R> combinator)
Combine two values.- Type Parameters:
R
- return type- Parameters:
combinator
- function- Returns:
- arbitrary instance
-
flatAs
public <R> Arbitrary<R> flatAs(Combinators.F2<T1,T2,Arbitrary<R>> flatCombinator)
-
-