A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
  • Newsletters

collection

A collection of 1 posts
Kotlin, collections and sequences
Development

Kotlin, collections and sequences

When streams were added to Java 8, I wanted to jump on the bandwagon. I read blog posts, watched videos, attended workshops to understand what this was all about. After a while, I became comfortable enough…​ but I was unhappy with the implementation: while streams offer methods with a functional approach, legacy collections do not. When one wants to use Java capabilities on an existing collection, the later needs to be transformed to a stream, and then back again.

Nov 25, 2018
A Java geek © 2008-2026
v. 21894e07187b3ef8800521334e484c2e17db00b7/13834023959
Latest Posts