Package net.jqwik.api
Class Combinators
java.lang.Object
net.jqwik.api.Combinators
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Combinator for two values.static interface
Combinator for three values.static interface
Combinator for four values.static interface
Combinator for five values.static interface
Combinator for six values.static interface
Combinator for seven values.static interface
Combinator for eight values.static class
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
Combinator for any number of values. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Combinators.ListCombinator<T>
Combine a list of arbitraries into one.static <T1,
T2> Combinators.Combinator2<T1, T2> Combine 2 arbitraries into one.static <T1,
T2, T3> Combinators.Combinator3<T1, T2, T3> Combine 3 arbitraries into one.static <T1,
T2, T3, T4>
Combinators.Combinator4<T1,T2, T3, T4> Combine 4 arbitraries into one.static <T1,
T2, T3, T4, T5>
Combinators.Combinator5<T1,T2, T3, T4, T5> Combine 5 arbitraries into one.static <T1,
T2, T3, T4, T5, T6>
Combinators.Combinator6<T1,T2, T3, T4, T5, T6> combine
(Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5, Arbitrary<T6> a6) Combine 6 arbitraries into one.static <T1,
T2, T3, T4, T5, T6, T7>
Combinators.Combinator7<T1,T2, T3, T4, T5, T6, T7> combine
(Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5, Arbitrary<T6> a6, Arbitrary<T7> a7) Combine 7 arbitraries into one.static <T1,
T2, T3, T4, T5, T6, T7, T8>
Combinators.Combinator8<T1,T2, T3, T4, T5, T6, T7, T8> combine
(Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5, Arbitrary<T6> a6, Arbitrary<T7> a7, Arbitrary<T8> a8) Combine 8 arbitraries into one.
-
Method Details
-
combine
Combine 2 arbitraries into one.- Returns:
- Combinator2 instance which can be evaluated using Combinators.Combinator2.as(net.jqwik.api.Combinators.F2<T1, T2, R>)
-
combine
public static <T1,T2, Combinators.Combinator3<T1,T3> T2, combineT3> (Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3) Combine 3 arbitraries into one.- Returns:
- Combinator3 instance which can be evaluated using Combinators.Combinator3.as(net.jqwik.api.Combinators.F3<T1, T2, T3, R>)
-
combine
public static <T1,T2, Combinators.Combinator4<T1,T3, T4> T2, combineT3, T4> (Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4) Combine 4 arbitraries into one.- Returns:
- Combinator4 instance which can be evaluated using Combinators.Combinator4.as(net.jqwik.api.Combinators.F4<T1, T2, T3, T4, R>)
-
combine
public static <T1,T2, Combinators.Combinator5<T1,T3, T4, T5> T2, combineT3, T4, T5> (Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5) Combine 5 arbitraries into one.- Returns:
- Combinator5 instance which can be evaluated using Combinators.Combinator5.as(net.jqwik.api.Combinators.F5<T1, T2, T3, T4, T5, R>)
-
combine
public static <T1,T2, Combinators.Combinator6<T1,T3, T4, T5, T6> T2, combineT3, T4, T5, T6> (Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5, Arbitrary<T6> a6) Combine 6 arbitraries into one.- Returns:
- Combinator6 instance which can be evaluated using Combinators.Combinator6.as(net.jqwik.api.Combinators.F6<T1, T2, T3, T4, T5, T6, R>)
-
combine
public static <T1,T2, Combinators.Combinator7<T1,T3, T4, T5, T6, T7> T2, combineT3, T4, T5, T6, T7> (Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5, Arbitrary<T6> a6, Arbitrary<T7> a7) Combine 7 arbitraries into one.- Returns:
- Combinator7 instance which can be evaluated using Combinators.Combinator7.as(net.jqwik.api.Combinators.F7<T1, T2, T3, T4, T5, T6, T7, R>)
-
combine
public static <T1,T2, Combinators.Combinator8<T1,T3, T4, T5, T6, T7, T8> T2, combineT3, T4, T5, T6, T7, T8> (Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5, Arbitrary<T6> a6, Arbitrary<T7> a7, Arbitrary<T8> a8) Combine 8 arbitraries into one.- Returns:
- Combinator8 instance which can be evaluated using Combinators.Combinator8.as(net.jqwik.api.Combinators.F8<T1, T2, T3, T4, T5, T6, T7, T8, R>)
-
combine
Combine a list of arbitraries into one.- Returns:
- ListCombinator instance which can be evaluated using Combinators.ListCombinator.as(java.util.function.Function<java.util.List<T>, R>)
-