
Java – How to Merge or Concatenate 2 Arrays ?
In this article, we will discuss how to merge or concatenate 2 Arrays of same type. In one of the previous article, we already discussed Read More
In this article, we will discuss how to merge or concatenate 2 Arrays of same type. In one of the previous article, we already discussed 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 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
In this article, we will discuss how to convert a modifiable ArrayList into an unmodifiable ArrayList using Collections.unmodifiableList(); method 1. Convert ArrayList to Read-only: ArrayList 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
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 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