@API(status=MAINTAINED,
since="1.0")
public class Combinators
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Combinators.Combinator2<T1,T2>
Combinator for two values.
|
static interface |
Combinators.Combinator3<T1,T2,T3>
Combinator for three values.
|
static interface |
Combinators.Combinator4<T1,T2,T3,T4>
Combinator for four values.
|
static interface |
Combinators.Combinator5<T1,T2,T3,T4,T5>
Combinator for five values.
|
static interface |
Combinators.Combinator6<T1,T2,T3,T4,T5,T6>
Combinator for six values.
|
static interface |
Combinators.Combinator7<T1,T2,T3,T4,T5,T6,T7>
Combinator for seven values.
|
static interface |
Combinators.Combinator8<T1,T2,T3,T4,T5,T6,T7,T8>
Combinator for eight values.
|
static class |
Combinators.CombinatorsFacade |
static interface |
Combinators.F2<T1,T2,R> |
static interface |
Combinators.F3<T1,T2,T3,R> |
static interface |
Combinators.F4<T1,T2,T3,T4,R> |
static interface |
Combinators.F5<T1,T2,T3,T4,T5,R> |
static interface |
Combinators.F6<T1,T2,T3,T4,T5,T6,R> |
static interface |
Combinators.F7<T1,T2,T3,T4,T5,T6,T7,R> |
static interface |
Combinators.F8<T1,T2,T3,T4,T5,T6,T7,T8,R> |
static interface |
Combinators.ListCombinator<T>
Combinator for any number of values.
|
Modifier and Type | Method and Description |
---|---|
static <T1,T2> Combinators.Combinator2<T1,T2> |
combine(Arbitrary<T1> a1,
Arbitrary<T2> a2)
Combine 2 arbitraries into one.
|
static <T1,T2,T3> Combinators.Combinator3<T1,T2,T3> |
combine(Arbitrary<T1> a1,
Arbitrary<T2> a2,
Arbitrary<T3> a3)
Combine 3 arbitraries into one.
|
static <T1,T2,T3,T4> |
combine(Arbitrary<T1> a1,
Arbitrary<T2> a2,
Arbitrary<T3> a3,
Arbitrary<T4> a4)
Combine 4 arbitraries into one.
|
static <T1,T2,T3,T4,T5> |
combine(Arbitrary<T1> a1,
Arbitrary<T2> a2,
Arbitrary<T3> a3,
Arbitrary<T4> a4,
Arbitrary<T5> a5)
Combine 5 arbitraries into one.
|
static <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> |
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> |
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.
|
static <T> Combinators.ListCombinator<T> |
combine(java.util.List<Arbitrary<T>> listOfArbitraries)
Combine a list of arbitraries into one.
|
public static <T1,T2> Combinators.Combinator2<T1,T2> combine(Arbitrary<T1> a1, Arbitrary<T2> a2)
public static <T1,T2,T3> Combinators.Combinator3<T1,T2,T3> combine(Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3)
public static <T1,T2,T3,T4> Combinators.Combinator4<T1,T2,T3,T4> combine(Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4)
public static <T1,T2,T3,T4,T5> Combinators.Combinator5<T1,T2,T3,T4,T5> combine(Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, Arbitrary<T5> a5)
public 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)
public 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)
public 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)
public static <T> Combinators.ListCombinator<T> combine(java.util.List<Arbitrary<T>> listOfArbitraries)