
Conversion of ArrayList to Arrays in Java – 2 ways
In this article, we will discuss how to convert ArrayList to Arrays in different ways 1. Conversion of ArrayList to String Arrays using toArrays(); method Read More
In this article, we will discuss how to convert ArrayList to Arrays in different ways 1. Conversion of ArrayList to String Arrays using toArrays(); method Read More
In this article, we will discuss how to sort contents of LinkedHashSet Key points about LinkedList: LinkedHashSet maintains insertion-order as it uses doubly-linked list and hash table to store element/objects Different Read More
In this article, we will discuss different types of for-loop evolved over years in various Java versions Starting Java 1.1 version, for-loop was always there Read More
In this article, we will discuss and understand why we need to override toString() method for displaying ArrayList contents Problem statement: Assume that we want Read More
In this article, we will discuss how to convert StringTokenizer tokens into ArrayList Few things to note: StringTokenizer is deprecated now, but however it is Read More
In this article, we will discuss how to sort HashSet. Already, in one of the earlier article we discussed about HashSet sorting in ascending & Read More
In this article, we will discuss how to convert List into Map in Java 8 Already, in the last article we have discussed how to Read More
In this article, we will discuss how to convert List into Map in Java List v/s Map: Before starting with List to Map conversion, Read More
In this article, we will discuss how to convert Map into List in Java 1.8 version As Map contains key-value pairs which is called Read More
In this article, we will discuss how to convert Map into List in Java As Map contains key-value pairs which is called as Map Read More
In this article, we will discuss how to convert Arrays into List in Java 8 using Streams class Solution (version-wise): Until Java 1.7 version, Read More
In this article, we will discuss various ways to remove duplicate elements from Arrays in Java i.e.; Various ways to remove duplicate elements from Arrays: Read More
In this article, we will discuss how to remove duplicate elements from ArrayList in Java Already, we have discussed in one of the earlier article Read More
In this article, we will discuss how to sort contents of ArrayList using sort() method of List in Java 8 Until Java 1.7 version: Read More
In this article, we will discuss difference between Arrays and ArrayList in detail i.e.; Arrays v/s ArrayList Difference will be based on below parameters, Size Read More
In this article, we will discuss different ways to iterate through List of HashMap. Already, in earlier articles, we have discussed following topics Iterating over Read More
In previous articles, we have discussed how to sort list of objects on the basis of single field using Comparable and Comparator interface Read below articles Read More
In previous articles, we have discussed various ways to iterate through Map but those are with String object only i.e.; both keys and values are in String-type only Read More
In this article, we will discuss how to serialize list of objects and also de-serializing same Already we have seen how to serialize and de-serialize objects Read More
In this article, we will discuss difference between CopyOnWriteArrayList and SynchronizedList classes in detail i.e.; CopyOnWriteArrayList v/s SynchronizedList Lets us move on and discuss key differences Read More