| 1. | Here's an example that shows a reverse array iterator:
|
| 2. | The flag argument selects the iterator method returned for that loop.
|
| 3. | Functions for traversal and retrieval are put into the abstract Iterator interface.
|
| 4. | By using an iterator one is isolated from these sorts of consequences.
|
| 5. | However, not every type of container supports every type of iterator.
|
| 6. | But no explicit iterator object is subsequently exposed as the iteration proceeds.
|
| 7. | Remote query agents service each subtask and return results to the iterator.
|
| 8. | Returns two values : an iterator function and the table.
|
| 9. | These methods are put into an abstract Iterator interface.
|
| 10. | The property here is parametric in the Iterator i.
|