
Java 8 – How to Sort HashMap entries by its Values ?
In this article, we will discuss how to sort HashMap entries by its Values in ascending & descending order using Java 8 Stream‘s sorted() method Read More
In this article, we will discuss how to sort HashMap entries by its Values in ascending & descending order using Java 8 Stream‘s sorted() method Read More
In this article, we will discuss how to sort HashMap entries by its Keys in ascending & descending order using Java 8 Before proceeding with Read More
In one of the previous article, we discussed on how to sort list of objects on multiple field/parameters where we have coded/developed our own customized Read More
In this article, we will see how to sort list and Array of objects with null values present Generally, sorting any List/Array which contains one/more Read More
In this article, we will discuss how to sort TreeSet elements in descending order using Java 8 Stream API Before proceeding with this sorting examples understand Read More
In this article, we will discuss how to sort LinkedHashSet elements in ascending & descending order using Java 8 Before proceeding with this sorting examples understand Read More
In this article, we will discuss how to remove duplicate element/objects from LinkedList with examples using different approaches Also read How to remove duplicates from Read More
In this article, we will discuss Stream’s flatMapToDouble() method in detail with examples and explanation 1. Stream flatMapToDouble() method : This Stream method is an Read More
In this article, we will discuss Stream’s flatMapToLong() method in detail with examples and explanation 1. Stream flatMapToLong() method : This Stream method is an Read More
In this article, we will discuss Stream’s flatMapToInt() method in detail with examples and explanation 1. Stream flatMapToInt() method : This Stream method is an Read More
In this article, we will discuss Stream’s mapToDouble() method in detail with examples and explanation 1. Stream mapToDouble() method : This Stream method is an Read More
In this article, we will discuss Stream’s mapToLong() method in detail with examples and explanation 1. Stream mapToLong() method : 2. Stream mapToLong() method Read More
In this article, we will discuss Stream’s mapToInt() method in detail with examples and explanation 1. Stream mapToInt() method : This Stream method is an Read More
In this article, we will see how to print elements of an Arrays Read Various ways to iterate Arrays in Java – 5 ways Different Read More
In this article, we will discuss Stream’s toArray() method in detail with examples 1. Stream toArray() method : This Stream method is a terminal operation Read More
In this article, we will discuss how to remove/eliminate null & empty values from a Stream using filter() method 1. Integer Stream – filter null Read More
In this article, we will discuss one of the alternatives for Lambda Expression i.e.; Method references and Constructor references Lambda expression basically provides some functionality Read More