In computer programming, the iterator pattern is one of the design patternss.

  • The Java standard library provides an "Iterator interface" to do this job.
  • C++'s STL provides some iteration methods for containers and algorithm functions.

See also: Iterator