07 - Programming Principles: Collections and Iterators
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.
Added By: |
Prof David Millard
|
---|---|
Date Added: | 25 Oct 2011 08:54 |
Creators Name: |
Prof David Millard
Dr Son Hoang
|
Tags: | java, loops, arrays, generics, autoboxing |
Viewing permissions: | World |
Course codes: | COMP1004, COMP1202 |
Link: | http://edshare.soton.ac.uk/id/eprint/7928 |
Downloads & Views |
Toolbox
There are no actions available for this resource.