Lecture 6

Java Iterator & Inner class

Learning Outcomes

At the end of this lecture, you’ll be able to:

Lecture Plan

In this lecture, we'll cover the following lessons:

  1. Java Interlude: Enhanced For Loop
  2. Iterator Design Pattern
  3. Iterator Pattern: Iterable Interface
  4. Iterator Pattern: Test
  5. Iterator Pattern: Iterator Interface
  6. Implement the Iterator Pattern: Part I
  7. Implement the Iterator Pattern: Part II
  8. Implement the Iterator Pattern: Part III
  9. Implement the Iterator Pattern: Exercise

Lessons marked with ⚡ contain exercise/activity.

Downloads