How to Sort an Array in Parallel in Java 8
The current sorting implementations provided by the Java Collection Framework, i.e. Collections.sort and Arrays.sort sequentially performs the sorting. In this tutorial, we will see how to sort an…
Press Esc to close
Archive
The current sorting implementations provided by the Java Collection Framework, i.e. Collections.sort and Arrays.sort sequentially performs the sorting. In this tutorial, we will see how to sort an…
In this tutorial, I am going to show you how to check an array contains a specific value in Java 8. Array contains a specific value : Array_Contains.java…
Updated October 2026. Every example was run on Java 21.
In this tutorial, I am going to show you how to read all files in a folder using Java 8 walk syntax. Java 8 How to Read all…
In the previous tutorials, we discussed how to convert a list to map in Java 8. But when we turn the List to Map, we need to be…
In this tutorial, I am going to show you how to group a list of objects in Java 8. Java 8 groupingBy: groupingBy() is a static method available…
In this tutorials, I am going to show you how to read a File line by line using Java 8 Lambda Expressions. Read File Line By Line :…
In this tutorials, we are going to see how to sort user defined objects using Java 8 comparator with lambda expression. In the previous tutorials we have discussed…
In this tutorial, we are going to filter a Map in Java 8. We have been filtering the map in Java since over the years. But in previous…
I this tutorial, I am going to show you how to sort a Map using Java 8 features. Sort a Map using Java8 : We can sort a…
In this tutorials, we are going to learn how to convert stream to list in Java 8 Java 8 convert Stream to List : Java 8 provides a…
Lambda Expressions in Java is one of the most awaited features, which was introduced in Dot Net version 3.5 (2007). They make the programming easier by eliminating the…
DateTime API is introduced in Java 8 to solve the issues with current java.util package Date and Timestamp API problems. DateTime API in Java 8 Why do we need…
Default Static methods in Interface, introduced in Java 8 are as equally important to understand as like Lambdas. Default Static methods in Interface address the problems with the current design…
Repeating Annotations in Java 8 are introduced for the support of having multiple same annotations to a declaration. Before Java 8 duplication annotations are not allowed. Let's take…