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 Comparable interface Java Comparable interface is used to order the objects of the user-defined class. This interface is found in java.lang…
-
Java Comparator interface Java Comparator interface is used to order the objects of a user-defined class. This interface is found in java.util…
-
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…