The Collections Framework
Home ] Up ] Concept ] [ The Collections Framework ]

 

Vector/Enumeration Example
ArrayList/Iterator Example
LinkedList Example
Stack Example
Comparable Example
Comparator Example
HashSet Example
TreeSet Example
TreeSet with Comparator
HashMap Example
TreeMap Example
TreeMap with Comparator

 

Remember the Collections Framework?

All of the Collections Framework classes and interfaces allow you to use generics (but they also allow you to choose not to use generics). 

As I think you'll see, using generics is almost always the preferred approach.

 

 

This page was last modified on 27 November, 2007