OLForwardIterator Class Reference
[Iterators]

An iterator that can go forward one step at a time. More...

#import <ObjectiveLib/Iterator.h>

Inheritance diagram for OLForwardIterator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

(id) - advance
 Advance the iterator.

Detailed Description

An iterator that can go forward one step at a time.

This is an abstract class; the default implementation of advance (OLForwardIterator) does nothing.


Member Function Documentation

- (id) advance  

Advance the iterator.

After advancing the iterator will point to a position in the container one step beyond the previous position.

Returns:
a reference to this iterator

Reimplemented in OLDequeIterator, OLReverseBidiIterator, OLAssociativeIterator, OLArrayIterator, OLHashIterator, OLListIterator, and OLBitIterator.


The documentation for this class was generated from the following file:
ObjectiveLibGenerated Sun Apr 22 15:13:10 2007, © 2004-2007 Will Mason
SourceForge.net Logo