# Functional operations with collections in Kotlin (KAD 11)

DevFeed: [Functional operations with collections in Kotlin (KAD 11)](<https://devfeed.tech/articles/functional-operations-with-collections-in-kotlin-kad-11-27166.md>)

Original publisher: [Read original article](<https://antonioleiva.com/functional-operations-collections-kotlin>)

Published: 2017-02-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Code](<https://devfeed.tech/topics/code.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [collections](<https://devfeed.tech/tags/collections.md>), [filter](<https://devfeed.tech/tags/filter.md>), [foreach](<https://devfeed.tech/tags/foreach.md>), [functional](<https://devfeed.tech/tags/functional.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [list](<https://devfeed.tech/tags/list.md>), [map](<https://devfeed.tech/tags/map.md>), [sorting](<https://devfeed.tech/tags/sorting.md>)

## AI overview

This tutorial introduces functional operations on Kotlin collections, including forEach, map, filter, first, last, and sorting. It explains how these operations simplify collection handling compared with Java and notes alternatives such as nullable results when no matching element is found.

## Source excerpt

Everything Android, Kotlin and other random topics