Java 8 Stream skip() vs limit() 1. Introduction In this short article, we’ll talk about the skip() and limit() methods of the Java Stream API and highlight their similarities and differences. Even though these two operations may look quite similar at first, they actually behave very differently and are not… Continue Reading java-stream-skip-vs-limit

Custom Thread Pools In Java 8 Parallel Streams 1. Overview Java 8 introduced the concept of Streams as an efficient way of carrying out bulk operations on data. And parallel Streams can be obtained in environments that support concurrency. These streams can come with improved performance – at the cost… Continue Reading java-8-parallel-streams-custom-threadpool

Java Null-Safe Streams from Collections Java Java Collections Java Streams 1. Overview In this tutorial, we’ll see how to create null-safe streams from Java collections. To start with, some familiarity with Java 8’s Method References, Lambda Expressions, Optional and Stream API is required to fully understand this material. If you are… Continue Reading java-null-safe-streams-from-collections