Java ConcurrentHashMap class,v> A hash table supporting full concurrency of retrievals and high expected concurrency for updates. This class obeys the same…
Java Collections Tutorial
-
-
Properties class in Java The properties object contains key and value pair both as a string. The java.util.Properties class is the subclass…
-
Java ConcurrentLinkedQueue Class ConcurrentLinkedQueue is an unbounded thread-safe queue which arranges the element in FIFO. New elements are added at the tail…
-
Sorting in Collection We can sort the elements of: String objects Wrapper class objects User-defined class objects Collections class provides static methods…
-
Java Deque Interface Java Deque Interface is a linear collection that supports element insertion and removal at both ends. Deque is an…
-
Java Deque A deque is a linear collection that supports insertion and deletion of elements from both the ends. The name ‘deque’…
-
Difference Between ArrayList and LinkedList ArrayList and LinkedList both implement the List interface and maintain insertion order. Both are non-synchronized classes. However,…
-
Difference between ArrayList and Vector ArrayList and Vector both implements List interface and maintains insertion order. However, there are many differences between…
-
Difference between Comparable and Comparator Comparable and Comparator both are interfaces and can be used to sort collection elements. However, there are…
-
Difference between HashMap and Hashtable HashMap and Hashtable both are used to store data in key and value form. Both are using…