No Image

Java – How to sort LinkedHashSet contents ?

November 30, 2018 SJ 0

In this article, we will discuss how to sort contents of LinkedHashSet Key points about LinkedList: LinkedHashSet maintains insertion-order It uses doubly-linked list and hash table to store element/objects Different ways to Read More

No Image

Java – HashSet v/s LinkedHashSet

September 9, 2016 SJ 0

In this article, we will discuss difference between HashSet and LinkedHashSet classes in detail i.e.; HashSet v/s LinkedHashSet 1. HashSet v/s LinkedHashSet: HashSet LinkedHashSet Uses hashtable Read More