Java 8 – How to find common & uncommon elements from 2 Lists ?
In this article, we will discuss how to find and print common & uncommon elements from 2 Lists (or ArrayList) There are different ways to Read More
In this article, we will discuss how to find and print common & uncommon elements from 2 Lists (or ArrayList) There are different ways to Read More
In this article, we will discuss how to find the desired result from the Integer[] arrays for the problem statement given below 1. Problem statement Read More
In this article, we will discuss how to remove an entry based on the Value in a HashMap using Java 8 Stream Remove an entry Read More
In this article, we will discuss how to find an entry based on the Value in a HashMap using Java 8 Stream Find an entry Read More
In this article, we will discuss how to remove an entry based on the Key in a HashMap using Java 8 Stream Remove an entry Read More
In this article, we will discuss how to find an entry based on the Key in a HashMap using Java 8 Stream Find an entry Read More
In this article, we will discuss how to get Keys from Value in Map or Map implemented classes like HashMap, LinkedHashMap or TreeMap using Java Read More
In this article, we will discuss about how to display Zones for particular Offset like “Z” or “+00:00” or GMT/UTC 1. Display Zones for particular Read More
In this article, we will discuss how to remove specific character from a given String using different approaches Remove Character from a given String : Read More
In this article, we will learn how to count number of vowels and consonants in a String ignoring space characters Count Vowels and Consonants : Read More
In this article, we will count and print number of repeated character occurrences in a String i.e.; Counting & Printing duplicate character occurrences : Using Java 8 Stream Read More
In this article, we will count and print number of repeated word occurrences in a text file i.e.; Counting & Printing duplicate word occurrences : Using Java 8 Read More
In this article, we will discuss how to find and count duplicates in an Arrays in different ways Find and count duplicates in an Arrays Read More
In this article, we will discuss how to store/put multiple values for single key in HashMap Sometimes, we might require to store multiple values for Read More
In this article, we will discuss how to find and count duplicates in a Stream or List in different ways Find and count duplicates in Read More
In this article, we will discuss how to convert List into Stream in Java 1.8 version using stream() method 1. Using stream() method List to Read More
In this article, we will discuss different ways to convert Stream to List. Stream to List : Using Collectors.toList() method Using Collectors.toCollection() method Iterate Stream Read More
In the previous article, we seen how to convert Stream to Array using toArray() method of Stream API. This article illustrates about Array to Stream 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 collect() method in details with examples 1. Stream collect() method: This Stream method is a terminal operation which Read More