Class diagram of List API

In List API:

  • List<E> is the base interface for all kinds of list. It defines general operations for a List type.
  • Abstract subclasses: AbstractList<E> and AbstractSequentialList<E>
  • Concrete implementation classes: ArrayList<E>, Vector<E>, LinkedList<E> and CopyOnWriteArrayList<E>(this class is under java.util.concurrent package).
  • Legacy collection: Vector<E>
  • Implementation classes in JDK which are not members of Java Collections Framework: AttributeList,RoleList, RoleUnresolvedList and Stack.

The following class diagram describes the hierarchy structure of List API in Java Collections Framework:

List API class diagram

One thought on “Class diagram of List API

  1. Pingback: Overview of Java Collections Framework API (UML diagram) | Unsekhable

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s