The standard collection classes are summarized in the following table:
Class | Description |
AbstractCollection | Implements most of the Collection interface. |
AbstractList | Extends AbstractCollection and implements most of the List interface. |
AbstractQueue | Extends AbstractCollection and implements parts of the Queue interface. |
AbstractSequentialList | Extends AbstractList for use by a collection that uses sequential rather than random |
access of its elements. | |
LinkedList | Implements a linked list by extending AbstractSequentialList. |
ArrayList | Implements a dynamic array by extending AbstractList. |
ArrayDeque | Implements a dynamic double-ended queue by extending AbstractCollection and |
implementing the Deque interface. (Added by Java SE 6.) | |
AbstractSet | Extends AbstractCollection and implements most of the Set interface. |
EnumSet | Extends AbstractSet for use with enum elements. |
HashSet | Extends AbstractSet for use with a hash table. |
LinkedHashSet | Extends HashSet to allow insertion-order iterations. |
PriorityQueue | Extends AbstractQueue to support a priority-based queue. |
TreeSet | Implements a set stored in a tree. Extends AbstractSet. |