|
|
|
|
There are a number of collections framework interfaces used to manipulate collections and pass them from one method to another. Collection: Defines properties that all collections must have. For example, it defines a size() method to return the number of elements currently in the collection.
Map: Defines properties that map keys to values. A Map cannot contain duplicate keys. (Note that a Map does not extend Collection, and so is not a true collection.)
Iterator: Defines the properties necessary to iterate through a Collection.
|
|
This page was last modified on 02 October, 2007 |