Java 8 – Comparator.comparing() method for custom/reverse sorting
In this article, we will discuss how to sort list of Objects on the basis of any one parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort list of Objects on the basis of any one parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort list of Objects on the basis of any one parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort a TreeMap entries (or key-value pairs) in descending-order by its Key in Java 8 using Stream‘s Read More
In this article, we will discuss how to sort a LinkedHashMap entries (key-value pairs) by its Value in Java 8 using Stream‘s sorted() method and Read More
In this article, we will discuss how to sort a LinkedHashMap entries (or key-value pairs) by its Key in Java 8 using Stream‘s sorted() method 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 different ways to sort LinkedList elements using Java 8 Before proceeding with this sorting examples understand below items, What Read More
In this article we will discuss different ways to sort ArrayList elements using Java 8 Before proceeding with this sorting examples understand below items, What 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 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 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 Stream’s concat() method which is used to merge elements from 2 or more Streams into single Stream consisting of Read More
In this article, we will discuss Stream’s skip() and limit() methods in details with examples. Both methods used for different purposes and they complement each Read More
In this article, we will discuss pre-defined Functional Interface in Java 1.8 version which performs some operation (processing) and returns value after processing but doesn’t Read More
In this article, we will discuss pre-defined Functional Interface in Java 1.8 version for performing operation (processing) based on input argument but it won’t return Read More
In this article, we will discuss highly used pre-defined Functional Interface in Java 1.8 version for performing operation based on input argument and returning results Read More
In this article, we will discuss one of the widely used pre-defined Functional Interface in Java 1.8 version for conditional checks i.e.; Predicate Functional Interface Read More