Open main menu

CDOT Wiki β

Changes

Iterator

1 byte added, 21:44, 20 January 2007
no edit summary
__TOC__ The Iterator Pattern is commonly used in Computer Science as a way to access elements of a collection, regardless of how they were implemented. An iterator may also be called a cursor.
== Description ==
An iterator may be though of as a kind of pointer that has two basic operations, referencing one particular element in a collection, and pointing to the next element in the collection. Depending on the language the iterator is implemented in, other functionality may be added to the iterator object.
1
edit