Chapter 11. Working with Streams in Kotlin
So, we are gradually moving towards completing this book. In this chapter, we are going to cover Streams in Kotlin and how to work with them.
Streams were first introduced in Java from Java 8. The Streams API in Kotlin is almost identical to the Java API, but contains a few little additions and extension functions.
This is the contents that we will be covering in this chapter:
- Introduction to Streams
- Collections versus Streams
- Streams versus Observable (ReactiveX-RxKotlin/RxJava)
- Working with Streams
- Different ways to create Streams
- Collecting Streams
So, let's get started.