TupleIterable extension

Provides functions to convert Iterables of lists into Iterables of tuples.

on

Methods

pairs<K, V>() Iterable<Pair<K, V>>
Creates an Iterable of Pairs from an Iterable of lists. Each list should contain 2 values.
quads<T1, T2, T3, T4>() Iterable<Quad<T1, T2, T3, T4>>
Creates an Iterable of Quads from an Iterable of lists. Each list should contain 4 values.
triples<L, M, R>() Iterable<Triple<L, M, R>>
Creates an Iterable of Triples from an Iterable of lists. Each list should contain 3 values.