Standard Collection Classes

The final section of the course introduces the concept of generics in order to allow you to understand how standard generic collection classes can be used to implement collection and aggregation associations.

You will be taught how to iterate through collections and how to select appropriate collection classes to implement associations dependent on the scenario. The scenarios selected will include scenarios that relate to the ADTs introduced in the previous section.

Note: this section makes extensive use of material and examples adapted from Introduction to Programming Using Java ©1996–2014, David J. Eck. This work is licensed under a Creative Commons Attribution-Noncommercial-ShareAlike 3.0 License. This free book can be downloaded from http://math.hws.edu/eck/cs124/downloads/javanotes6.pdf

Next: Generics