[android-components](../../index.md) / [mozilla.components.support.ktx.kotlin](../index.md) / [kotlin.collections.Collection](./index.md)

### Extensions for kotlin.collections.Collection

| Name | Summary |
|---|---|
| [crossProduct](cross-product.md) | `fun <T, U, R> `[`Collection`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)`<`[`T`](cross-product.md#T)`>.crossProduct(other: `[`Collection`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)`<`[`U`](cross-product.md#U)`>, block: (`[`T`](cross-product.md#T)`, `[`U`](cross-product.md#U)`) -> `[`R`](cross-product.md#R)`): `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`R`](cross-product.md#R)`>`<br>Performs a cartesian product of all the elements in two collections and returns each pair to the [block](cross-product.md#mozilla.components.support.ktx.kotlin$crossProduct(kotlin.collections.Collection((mozilla.components.support.ktx.kotlin.crossProduct.T)), kotlin.collections.Collection((mozilla.components.support.ktx.kotlin.crossProduct.U)), kotlin.Function2((mozilla.components.support.ktx.kotlin.crossProduct.T, mozilla.components.support.ktx.kotlin.crossProduct.U, mozilla.components.support.ktx.kotlin.crossProduct.R)))/block) function. |
