21 Java Collections: List

 

After reading this lesson, you will be able to:

  • Identify the interfaces and classes included in the Collections Framework
  • Understand when to use the List collection
  • Create lists using the ArrayList, LinkedList, and Vector classes
  • Apply methods available for the List collection in a Java program

This lesson introduces the topic of collections in Java, and the types of collections available. After the overview, this lesson concentrates on the List interface. It includes the benefits of using and the difference between the types of Lists.  A collection is an object that represents another group of objects. Often you will hear the term, a collections framework, this is an architecture for representing and manipulating collections.

21.1   Collections in Java

 
 
 

21.2   Understand when to use the List collection

 
 
 

21.3   ArrayList, LinkedList and Vector

 
 

21.4   Common Collection Interface Methods

 

21.5   Summary

 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest