image2020-8-17_15-5-57.png

Flows

Flow<T>

 Flows is a set of useful extensions to Java Streams that I created while working at Ab Initio. They are owned by Ab Initio, so I won’t go into much depth. These are the coolest thing I invented in 2020.

image2020-8-17_15-5-57.png

Flows enhance Streams with the ability to branch and rejoin, allowing you to perform a much greater range of operations in a clean way. Additionally, they implement a few useful ideas from Kotlin’s sequences that were lacking in Java’s streams, such as shortened collectors.