Collections - Java List interface

Overview

https://docs.oracle.com/javase/8/docs/api/java/util/List.html

  1. the List interface provides support for ordered collections of objects.
  2. Lists may contain duplicate elements.

Different implementations of list interface

The main implementations of the List interface are as follows :

  1. Vector
  2. ArrayList : Resizable-array implementation of the List interface. The best all-around implementation of the List interface.
  3. LinkedList

Links to this note