Java LinkedList class Java LinkedList class uses a doubly linked list to store the elements. It provides a linked-list data structure. It…
Java Collections Tutorial
-
-
Java List List in Java provides the facility to maintain the ordered collection. It contains the index-based methods to insert, update, delete…
-
Java Collection Interface Collection is a group of objects, which are known as elements. It is the root interface in the collection…
-
Java Map Interface A map contains values on the basis of key, i.e. key and value pair. Each key and value pair…
-
Java Collections class Java collection class is used exclusively with static methods that operate on or return collections. It inherits Object class.…
-
Java Queue Interface The interface Queue is available in the java.util package and does extend the Collection interface. It is used to…
-
Java ConcurrentHashMap class,v> A hash table supporting full concurrency of retrievals and high expected concurrency for updates. This class obeys the same…
-
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…