zip

@JvmName(name = "zipToTuple2")
fun <A1, A2> ArbArgsGenerator<A1>.zip(other: ArbArgsGenerator<A2>): ArbArgsGenerator<Tuple2<A1, A2>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple2.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A2.


@JvmName(name = "zipToTuple3")
fun <A1, A2, A3> ArbArgsGenerator<Tuple2<A1, A2>>.zip(other: ArbArgsGenerator<A3>): ArbArgsGenerator<Tuple3<A1, A2, A3>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple3.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A3.


@JvmName(name = "zipToTuple4")
fun <A1, A2, A3, A4> ArbArgsGenerator<Tuple3<A1, A2, A3>>.zip(other: ArbArgsGenerator<A4>): ArbArgsGenerator<Tuple4<A1, A2, A3, A4>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple4.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A4.


@JvmName(name = "zipToTuple5")
fun <A1, A2, A3, A4, A5> ArbArgsGenerator<Tuple4<A1, A2, A3, A4>>.zip(other: ArbArgsGenerator<A5>): ArbArgsGenerator<Tuple5<A1, A2, A3, A4, A5>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple5.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A5.


@JvmName(name = "zipToTuple6")
fun <A1, A2, A3, A4, A5, A6> ArbArgsGenerator<Tuple5<A1, A2, A3, A4, A5>>.zip(other: ArbArgsGenerator<A6>): ArbArgsGenerator<Tuple6<A1, A2, A3, A4, A5, A6>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple6.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A6.


@JvmName(name = "zipToTuple7")
fun <A1, A2, A3, A4, A5, A6, A7> ArbArgsGenerator<Tuple6<A1, A2, A3, A4, A5, A6>>.zip(other: ArbArgsGenerator<A7>): ArbArgsGenerator<Tuple7<A1, A2, A3, A4, A5, A6, A7>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple7.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A7.


@JvmName(name = "zipToTuple8")
fun <A1, A2, A3, A4, A5, A6, A7, A8> ArbArgsGenerator<Tuple7<A1, A2, A3, A4, A5, A6, A7>>.zip(other: ArbArgsGenerator<A8>): ArbArgsGenerator<Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple8.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A8.


@JvmName(name = "zipToTuple9")
fun <A1, A2, A3, A4, A5, A6, A7, A8, A9> ArbArgsGenerator<Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>>.zip(other: ArbArgsGenerator<A9>): ArbArgsGenerator<Tuple9<A1, A2, A3, A4, A5, A6, A7, A8, A9>>

Zips this ArbArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting ArbArgsGenerator which generates values of type Tuple9.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A9.


@JvmName(name = "zipToTuple2")
fun <A1, A2> SemiOrderedArgsGenerator<A1>.zip(other: ArbArgsGenerator<A2>): SemiOrderedArgsGenerator<Tuple2<A1, A2>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple2.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A2.


@JvmName(name = "zipToTuple3")
fun <A1, A2, A3> SemiOrderedArgsGenerator<Tuple2<A1, A2>>.zip(other: ArbArgsGenerator<A3>): SemiOrderedArgsGenerator<Tuple3<A1, A2, A3>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple3.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A3.


@JvmName(name = "zipToTuple4")
fun <A1, A2, A3, A4> SemiOrderedArgsGenerator<Tuple3<A1, A2, A3>>.zip(other: ArbArgsGenerator<A4>): SemiOrderedArgsGenerator<Tuple4<A1, A2, A3, A4>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple4.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A4.


@JvmName(name = "zipToTuple5")
fun <A1, A2, A3, A4, A5> SemiOrderedArgsGenerator<Tuple4<A1, A2, A3, A4>>.zip(other: ArbArgsGenerator<A5>): SemiOrderedArgsGenerator<Tuple5<A1, A2, A3, A4, A5>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple5.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A5.


@JvmName(name = "zipToTuple6")
fun <A1, A2, A3, A4, A5, A6> SemiOrderedArgsGenerator<Tuple5<A1, A2, A3, A4, A5>>.zip(other: ArbArgsGenerator<A6>): SemiOrderedArgsGenerator<Tuple6<A1, A2, A3, A4, A5, A6>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple6.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A6.


@JvmName(name = "zipToTuple7")
fun <A1, A2, A3, A4, A5, A6, A7> SemiOrderedArgsGenerator<Tuple6<A1, A2, A3, A4, A5, A6>>.zip(other: ArbArgsGenerator<A7>): SemiOrderedArgsGenerator<Tuple7<A1, A2, A3, A4, A5, A6, A7>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple7.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A7.


@JvmName(name = "zipToTuple8")
fun <A1, A2, A3, A4, A5, A6, A7, A8> SemiOrderedArgsGenerator<Tuple7<A1, A2, A3, A4, A5, A6, A7>>.zip(other: ArbArgsGenerator<A8>): SemiOrderedArgsGenerator<Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple8.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A8.


@JvmName(name = "zipToTuple9")
fun <A1, A2, A3, A4, A5, A6, A7, A8, A9> SemiOrderedArgsGenerator<Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>>.zip(other: ArbArgsGenerator<A9>): SemiOrderedArgsGenerator<Tuple9<A1, A2, A3, A4, A5, A6, A7, A8, A9>>

Zips this SemiOrderedArgsGenerator with the given other ArbArgsGenerator.

Return

The resulting SemiOrderedArgsGenerator which generates values of type Tuple9.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A9.


fun <A1, A2, R> ArbArgsGenerator<A1>.zip(other: ArbArgsGenerator<A2>, transform: (A1, A2) -> R): ArbArgsGenerator<R>(source)

Zips this ArbArgsGenerator with the given other ArbArgsGenerator, transforming the pairwise generated values of type A1 and A2 to type R.

Return

The resulting ArbArgsGenerator which generates values of type R.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A2.

transform

The transformation function which takes an A1 and A2 and produces an R.

A1

The type of values generated by this ArbArgsGenerator.

A2

The type of values generated by the given other ArbArgsGenerator.

R

the type of values generated by the resulting ArbArgsGenerator.


Combines this SemiOrderedArgsGenerator with the given other ArbArgsGenerator and transforms the generated values pairwise, returning a SemiOrderedArgsGenerator which generates values of type R.

The resulting SemiOrderedArgsGenerator still generates this.size values before repeating.

Return

The resulting SemiOrderedArgsGenerator which generates values of type R.

Since

2.0.0

Parameters

other

The other ArbArgsGenerator which generates values of type A2.

A1

The type of values generated by this OrderedArgsGenerator.

A2

the type of values generated by the other OrderedArgsGenerator.

R

the type of values generated by the resulting OrderedArgsGenerator.