
Java 8 – Iterating List from JDK 1.0 to Java 1.8 version in 7 ways
In this article, we will discuss how to iterate/print List (ArrayList/LinkedList) from Java 1.0 to Java 1.8 version. In one of the previous article, we Read More
In this article, we will discuss how to iterate/print List (ArrayList/LinkedList) from Java 1.0 to Java 1.8 version. In one of the previous article, we Read More
In this article, we will learn how to convert HashMap entries (key-value pairs) into ArrayList As Map contains Key-Value pairs, so we can extract keys Read More
In this article, we will learn different ways to iterate through HashMap Different ways to iterate through Map : Using Map.forEach() method Using Map.keySet() and Read More
In this article, we will discuss how to sort list using Java 8 Comparator’s default method – reversed() which returns a comparator for sorting in Read More
In this article, we will discuss how to sort list using Java 8 Comparator’s static methods – naturalOrder() and reverseOrder() 1. Comparator.naturalOrder() method : Returns Read More
In this article, we will discuss different ways to sort a Map entries (key-value pairs) by its Value Before proceeding with this sorting examples understand Read More
In this article, we will discuss different ways to sort a Map entries (key-value pairs) by its Key Before proceeding with this sorting examples understand 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 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 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