Documentation / dataflow / com.femastudios.dataflow.util / tuple
Go to reference

tuple

fun <A, B> tuple(first: Field<A>, second: Field<B>): Field<Pair<A, B>>

Creates a Field of Pair, given two separate fields


fun <A, B, C> tuple(first: Field<A>, second: Field<B>, third: Field<C>): Field<Triple<A, B, C>>

Creates a Field of Triple, given three separate fields


fun <A, B, C, D> tuple(first: Field<A>, second: Field<B>, third: Field<C>, fourth: Field<D>): Field<Quadruple<A, B, C, D>>

Creates a Field of Quadruple, given four separate fields


fun <A, B, C, D, E> tuple(first: Field<A>, second: Field<B>, third: Field<C>, fourth: Field<D>, fifth: Field<E>): Field<Quintuple<A, B, C, D, E>>

Creates a Field of Quintuple, given five separate fields


fun <A, B, C, D, E, F> tuple(first: Field<A>, second: Field<B>, third: Field<C>, fourth: Field<D>, fifth: Field<E>, sixth: Field<F>): Field<Sixfold<A, B, C, D, E, F>>

Creates a Field of Sixfold, given six separate fields


fun <A, B, C, D, E, F, G> tuple(first: Field<A>, second: Field<B>, third: Field<C>, fourth: Field<D>, fifth: Field<E>, sixth: Field<F>, seventh: Field<G>): Field<Sevenfold<A, B, C, D, E, F, G>>

Creates a Field of Sevenfold, given seven separate fields


fun <A, B, C, D, E, F, G, H> tuple(first: Field<A>, second: Field<B>, third: Field<C>, fourth: Field<D>, fifth: Field<E>, sixth: Field<F>, seventh: Field<G>, eighth: Field<H>): Field<Eightfold<A, B, C, D, E, F, G, H>>

Creates a Field of Eightfold, given eight separate fields


fun <A, B, C, D, E, F, G, H, I> tuple(first: Field<A>, second: Field<B>, third: Field<C>, fourth: Field<D>, fifth: Field<E>, sixth: Field<F>, seventh: Field<G>, eighth: Field<H>, ninth: Field<I>): Field<Ninefold<A, B, C, D, E, F, G, H, I>>

Creates a Field of Ninefold, given nine separate fields


fun <A, B, C, D, E, F, G, H, I, J> tuple(first: Field<A>, second: Field<B>, third: Field<C>, fourth: Field<D>, fifth: Field<E>, sixth: Field<F>, seventh: Field<G>, eighth: Field<H>, ninth: Field<I>, tenth: Field<J>): Field<Tenfold<A, B, C, D, E, F, G, H, I, J>>

Creates a Field of Tenfold, given ten separate fields