Java 8 – Stream flapMap() method with examples
In this article, we will discuss Stream flatMap() method in details with examples using Collection and Arrays 1. Stream flatMap() method : This Stream method Read More
In this article, we will discuss Stream flatMap() method in details with examples using Collection and Arrays 1. Stream flatMap() method : This Stream method Read More
In this article, we will discuss Stream map() method in details with different examples 1. Stream map() method : This Stream method is an intermediate Read More
In this article, we will discuss Stream filter() method in details with examples 1. Stream filter() method : This Stream method is an intermediate operation Read More
In this article, we will discuss how to remove elements from LinkedList There are different methods available in LinkedList class for removing elements as listed Read More
In this article, we will discuss how to sort HashSet in Java 8. Already, in one of the earlier article we discussed about HashSet Sorting in Read More
In this article, we will discuss and understand with a program to check whether HashMap is empty or not ? In earlier article, we have Read More
In this article, we will discuss how to convert ArrayList to Arrays in different ways Conversion of ArrayList to Arrays[] : Using toArrays() method Using traditional Read More
In this article, we will discuss how to convert ordered LinkedHashMap into Sorted TreeMap by its Values With the introduction of Java 8 APIs, sorting LinkedHashMap become easy and more Read More
In this article, we will discuss how to convert ordered LinkedHashMap into Sorted TreeMap by its Keys With the introduction of Java 8 APIs, sorting LinkedHashMap become easy and more Read More
In this article, we will discuss how to sort contents of LinkedHashSet Key points about LinkedList: LinkedHashSet maintains insertion-order It uses doubly-linked list and hash table to store element/objects Different ways to Read More
In this article, we will discuss various ways to iterate through TreeMap. We will list down various Map implementation classes and their key property like element/objects storing-order 1. Read More
In this article, we will discuss various ways to iterate through TreeSet – 3 ways Various ways to iterate through TreeSet: Enhanced for-loop introduced in Java 1.5 version Iterating Read More
In this article, we will discuss various ways to iterate through LinkedList – 5 ways Various ways to iterate through LinkedList Regular for-loop Enhanced for-loop introduced Read More
In this article, we will see how to find duplicate in String[] Arrays Finding duplicates in String[] Arrays : Check duplicates present or not ? Read More
In this article, we will list down steps to sort Vector 1. Vector: Vector is implementation class of List interface (i.e.; Vector implements List) Vector uses resizable array Read More
In this article, we will discuss how to sort collection of, String StringBuffer StringBuilder In Collection framework hierarchy, below classes sorts value/objects stored by-default in Read More
In the previous article, we have discussed on how to remove an entry or entries from HashMap by comparing values using Java 8 APIs Here, Read More
In this article, we will discuss how to remove an entry or entries from HashMap using Java 8 APIs Before proceeding further, it is recommended Read More
In this article, we will discuss various possibilities when ConcurrentModificationException is thrown and its resolution with respect to HashMap Often, this term is quite confusing. So, we Read More
In this article, we will discuss how to merge two arrays and then sort according to natural order i.e.; ascending order. Well, by passing Comparator Read More