cartesian7<T2, T3, T4, T5, T6, T7> method
Generates the cartesian product of this iterable and six other iterables.
Generates all the elements in the cartesian product between this
and the provided iterables. The resulting iterable will consist
of an iterable of Tuple7
with each combination of each element from this
iterable and each element from each other iterable
Implementation
Iterable<Tuple7<T, T2, T3, T4, T5, T6, T7>>
cartesian7<T2, T3, T4, T5, T6, T7>(
Iterable<T2> o2,
Iterable<T3> o3,
Iterable<T4> o4,
Iterable<T5> o5,
Iterable<T6> o6,
Iterable<T7> o7,
) sync* {
for (var a in this) {
for (var b in o2) {
for (var c in o3) {
for (var d in o4) {
for (var e in o5) {
for (var f in o6) {
for (var g in o7) {
yield Tuple7(a, b, c, d, e, f, g);
}
}
}
}
}
}
}
}