List hierarchy in java - Detailed - ArrayList, LinkedList, vector, CopyOnWriteArrayList classes


In this Collection framework tutorial we will learn List hierarchy in java in detail.

Contents of page :
  • 1) List interface extends which interface?
  • 2) Which classes implement List interface?
  • 3) List hierarchy in java >



1) List interface extends which interface?
java.util.List interface extends java.util.Collection interface.

2) Which classes implement List interface?
java.util.ArrayList, java.util.LinkedList, java.util.Vector, java.util.concurrent.CopyOnWriteArrayList classes implements java.util.List interface.

Also some abstract classes like java.util.AbstractCollection, java.util.AbstractList and java.util.AbstractSequentialList have been mentioned in hierarchy.

3) List hierarchy in java >


/** Copyright (c), AnkitMittal JavaMadeSoEasy.com */
.


Having any doubt? or you you liked the tutorial! Please comment in below section.
Please express your love by liking JavaMadeSoEasy.com (JMSE) on facebook, following on google+ or Twitter.



RELATED LINKS>

Basic Collection - All properties in tabular form >

Collection - List, Set and Map all properties in tabular form


Collection hierarchy >

Set hierarchy tutorial in java - Detailed - java.util.HashSet, java.util.concurrent.CopyOnWriteArraySet, java.util.LinkedHashSet, java.util.TreeSet, java.util.concurrent.ConcurrentSkipListSet, java.util.EnumSet classes


Map hierarchy tutorial in java - Detailed - java.util.HashMap, java.util.Hashtable, java.util.concurrent.ConcurrentHashMap, java.util.LinkedHashMap, java.util.TreeMap, java.util.concurrent.ConcurrentSkipListMap, java.util.IdentityHashMap, java.util.WeakHashMap, java.util.EnumMap classes



Must read for you :