
Java 8 – How to merge/concatenate/join two lists into single list ?
In this article, we will discuss with an example for joining or concatenating or merging two or more lists into single list using Java 1.8 Read More
In this article, we will discuss with an example for joining or concatenating or merging two or more lists into single list using Java 1.8 Read More
In this article, we will understand with a Java program on how to find hashCode of a String using Java 1.8 version Already in one Read More
In this article, we will discuss how to find longest String in an Arrays and List using Java 1. Finding Shortest String in List or ArrayList : We will find Shortest String in a List or ArrayList in Read More
In this article, we will discuss how to find longest String in an Arrays and List using Java 1. Finding Longest String in List or ArrayList : We will find Longest String in a List or ArrayList in Read More
In this article, we will discuss how to convert a modifiable Collection into an unmodifiable Collection using Collections.unmodifiableCollection(); method 1. Collection implemented classes: Classes that implement directly or via Collection are, ArrayList LinkedList 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 articles, we will discuss how to get all Zones and its corresponding Offset information using ZoneId and ZoneOffset Display all Zones and its Read More
In this article, we will discuss and learn how to sort List by java.time.LocalDatetime in ascending as well as descending order in different ways Sort Read More
In this article, we will discuss and learn how to sort List by java.time.LocalDate in ascending as well as descending order in different ways Sort Read More
In this article, we will discuss and learn how to sort List by java.util.Date in ascending as well as descending order in different ways Sort 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 get First and Last entries from a Map or HashMap using Java 8 Streams API Find First Read More
In this article, we will discuss how to get First and Last elements from a Set or HashSet using Java 8 Streams API Find First Read More
In this article, we will discuss how to calculate sum and average of a List or ArrayList in Java 8 1. Java 8 – Find 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 remove duplicate elements from Array Also read, Java – Different ways to remove duplicate elements from Arrays Read More
In this article, we will discuss how to convert a modifiable HashMap entries into an unmodifiable HashMap entries using Collections.unmodifiableMap(); method 1. Convert HashMap to Read More
In this article, we will discuss how to convert a modifiable HashSet into an unmodifiable HashSet using Collections.unmodifiableSet(); method 1. Convert HashSet to Read-only: HashSet Read More