iterator pattern
Java
A common pattern in which the contents of a collection are iterated over in order. The Iterator pattern frees a client of the data from needing details of the how the data is stored. This pattern is supported by the Iterator and ListIterator interfaces.