Operations on Collections

An essential aspect of functional languages is the ability to easily perform batch operations on collections of objects.

Most functional languages provide powerful support for working with collections, and Kotlin is no exception. We’ve already seen map(), filter() and any(). This atom shows more of the numerous operations available for Lists and other collections.

End of sample. See AtomicKotlin.com for full early-access book.

Previous          Next

©2018 Mindview LLC. All Rights Reserved.