Recently, while developing examples for the groupingBy() guide, I discovered handy JDK 10 additions to the Stream API – Collectors allowing collecting Stream pipelines into…
Leave a CommentTag: java-stream-api
The groupingBy() is one of the most powerful and customizable Stream API collectors.
If you always find yourself not going beyond:
.collect(groupingBy(...));
…or simply wanted to discover more its potential uses, then this article is for you.
If you’re looking for a general Collectors API overview, head here.
Leave a CommentIn this article, we’ll see how to implement a custom sliding window Stream/Spliterator in Java.
Does the world need another way of implementing a sliding window operation in Java? Probably not, but you do – for your self-development.
Leave a Comment