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 convert Stream into a TreeSet in Java 1.8 version using Stream API. TreeSet doesn’t allow duplicates but Read More
In this article, we will discuss how to convert Stream into a LinkedHashSet in Java 1.8 version using Stream API. LinkedHashSet doesn’t allow duplicates but Read More
In this article, we will discuss how to convert Stream into a HashSet in Java 1.8 version using Stream API. Unlike List, Set neither allows Read More
In this article, we will discuss how to convert Stream into a LinkedList in Java 1.8 version using Stream API Stream to LinkedList : Using Read More
In this article, we will discuss how to convert Stream into an ArrayList in Java 1.8 version using Stream API Stream to ArrayList : Using 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 this article, we will learn how to convert HashMap entries (key-value pairs) into ArrayList As Map contains Key-Value pairs, so we can extract keys Read More
In this article, we will discuss how to remove duplicate element/objects from LinkedList with examples using different approaches Also read How to remove duplicates from Read More