TreeSet is class under Set interface of collection framework. It implements NavigableSet interface which extends SortedSet interface. Elements are ordered by a Comparator which is […]
ArrayDeque is one of the collection framework member which implements Deque, Cloneable and Serializable interfaces. ArrayDeque provides Resizable-array implementation so it has […]
If you look at collection hierarchy, Queue extends collection interface. Main purpose of collection is to hold the elements prior to processing. Queue […]
LinkedList class extends AbstractList class. LinkedList class implements List and Deque interfaces. LinkedList class is using doubly linked list to store elements […]
What is Java Collections Framework? Java Collections Framework is group of different interfaces, classes and algorithms. In simple word, Collection means single […]
Collection is an interface in java. Collection interface extends Iterable interface. In hierarchy, Collection interface is root of List, Queue and Set […]