Programming Principles: Collections and Iterators

Description

In this session we look at how we can use collection objects like ArrayList as a more advanced type of array. We also introduce the idea of generics (forcing a collection to hold a particular type) and see how Java handles the autoboxing and unboxing of primitives. Finally we look at Iterators, a common design pattern for dealing with iteration over a collection.

Resource details

Toolbox

There are no actions available for this resource.

LoadingLoading previews...
Collections_and_Iterators.pptx
Microsoft PowerPoint Creative Commons: Attribution-Noncommercial-Share Alike 3.0
Download
Collections_and_Iterators.pptx
Collections_and_Iterators.pptx
1 file in this resource