Grouping elements with Java Streams

One of the most interesting features introduced with Java Streams is the ability of grouping collections easily by using the groupingBy collector.Although in some cases it could be pretty straightforward, there are different combinations of groupingBy and some of them are not so obvious to understand for many developers, so that's why I've decided that... Continue Reading →

Functional patterns in Java

Recently we started a journey through functional programming in Java with my articles "A new functional Java style" and "Mastering the new functional Java". Now that we have a basic understanding about functional programming and what Java brings to us, I think it's time to see how we can apply this to improve our existing... Continue Reading →

Mastering the new functional Java

Introduction In my last article, we talked mostly about how Java Streams work and we also had an introduction to Functional Programming in the article "A new Java functional style"; now it's time to take these learnings and see how we can use Streams and take all their benefits. We'll go through a set of... Continue Reading →

Understanding Java Streams

After having had a deep introduction to functional programming in my last article "A new Java functional style", I think it's now time to look at Java Streams more in depth and understand how they work internally. This can be something very important when working with Streams if our performance is going to be impacted.... Continue Reading →

A new Java functional style

It's been a while since JDK 8 was released, bringing plenty of new features to the Java language; among them the most expected feature was ,with no room for doubt, the introduction of Lambda expressions.The release of Lambdas supposed one of the biggest quality jumps in the Java language in its history; mainly due to... Continue Reading →

Up ↑

Take a look at our recommended books!