11.3. Collections Overview

Collections represent a group of related objects. The objects may or may not be ordered. The SDK does not offer a direct implementation of this interface; the interface is implemented using one of the subinterfaces.

Collections have changed significantly over the years. Just as the way that Java handles user interface events and graphics has changed so much between AWT and Swing, collections have seen significant changes and additions. There are far more kinds of collections than there were in Java 1.0—at that time there were a total of four. Now in Java 1.4 there are closer to 20.

The original collections are important to discuss briefly for two reasons. First, you will see a lot of code implementing these collections. ...

Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.