Java 8 – Optional class in detail
In this article, we will discuss Optional class in detail and understand why it is needed/introduced in Java 1.8 version and how to avoid/handle (or Read More
In this article, we will discuss Optional class in detail and understand why it is needed/introduced in Java 1.8 version and how to avoid/handle (or Read More
In this article, we will see how to reverse a String in place using traditional & Java 8 Stream approaches 1. Traditional approach : ReverseStringInPlace.java 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 sort a HashMap by its Values first and then by its Keys 1. Sorting HashMap by Value 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 find employee count in every department using Java 8 Stream API Find employee count in each department Read More
In this article, we will discuss how to find and count duplicate values in a Map or HashMap Find & Count duplicate values in a 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 remove an entry with Smallest Value in a HashMap using Java 8 Stream Remove an entry with Read More
In this article, we will discuss how to find an entry with Smallest Value in a HashMap using Java 8 Stream Find an entry with Read More
In this article, we will discuss how to remove an entry with Smallest Key in a HashMap using Java 8 Stream Remove an entry with Read More
In this article, we will discuss how to find an entry with Smallest Key in a HashMap using Java 8 Stream Find an entry with Read More
In this article, we will discuss how to remove an entry with Largest Value in a HashMap using Java 8 Stream Remove an entry with Read More
In this article, we will discuss how to find an entry with Largest Value in a HashMap using Java 8 Stream Find an entry with Read More
In this article, we will discuss how to remove an entry with Largest Key in a HashMap using Java 8 Stream Remove an entry with Read More
In this article, we will discuss how to find an entry with Largest Key in a HashMap using Java 8 Stream Find an entry with Read More
In this article, we will discuss how to convert Comma-separated string values into List or specifically ArrayList We will illustrate 2 examples for converting comma-separated Read More