Software Design and Development :: CS 246

13 Prove

Iterator and Composite Patterns

Objectives

Introduction

The Iterator and Composite patterns both deal with collections of things, and are often used together.

Assignment

  1. Read this overview of the Iterator pattern.

  2. See this example showing the Iterator pattern being used.

  3. Read this overview of the Composite pattern.

  4. See this example showing the Composite pattern being used.

Make sure to complete the accompanying quiz for this assignment on I-Learn.