
Java 8 – How to split a String and Collect to any Collection ?
In this article, we will discuss how to split a String using different delimiters and collect to any Collection or List or Set Split a Read More
In this article, we will discuss how to split a String using different delimiters and collect to any Collection or List or Set Split a 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 get First and Last elements from an Arrays using Java 8 Streams API Find First and Last Read More
In this article, we will discuss how to get First and Last elements from a List or an ArrayList using Java 8 Streams API Find 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 calculate sum and average of an Arrays in Java 8 1. Java 8 – Find sum and Read More
In this article, we will discuss how to sort Arrays in both ascending and descending order of Integer, String and Employee objects Sorting Arrays : 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 merge or concatenate 2 Arrays of same type using Java 8 Stream API. Already in the previous Read More
In this article, we will discuss what are the different optimum ways to find sum of smallest 2 numbers in an Array or List or Read More
In this article, we will discuss what are the different optimum ways to find sum of largest 2 numbers in an Array or List or 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 Stream into a ConcurrentHashMap in Java 1.8 version using Stream API Stream to ConcurrentHashMap : Using Read More
In this article, we will discuss how to convert Stream into a TreeMap in Java 1.8 version using Stream API Stream to TreeMap : Using Read More
In this article, we will discuss how to convert Stream into a LinkedHashMap in Java 1.8 version using Stream API Stream to LinkedHashMap : Using Read More
In this article, we will discuss how to convert Stream into a HashMap in Java 1.8 version using Stream API Stream to HashMap : Using Read More
In this article, we will discuss how to convert Stream into a TreeSet in Java 1.8 version using Stream API. TreeSet doesn’t allow duplicates but Read More