IterableCartesianExtensions<T> extension

Cartesian product of two iterables.

on

Methods

cartesian<U>(Iterable<U> other) Iterable<(T, U)>

Available on Iterable<T>, provided by the IterableCartesianExtensions extension

Cartesian product: all pairs (a, b) for a in this, b in other.