The Iterator Pattern
An Introduction with Examples in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
ArrayList
HashSet
instead of an
ArrayList
? Object
that implements the Iterable
interface)