OLBidirectionalIterator Class Reference
[Iterators]

An iterator that can traverse a collection both forwards and backwards. More...

#import <ObjectiveLib/Iterator.h>

Inheritance diagram for OLBidirectionalIterator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

(id) - reverse
 Reverse the iterator by one position.

Detailed Description

An iterator that can traverse a collection both forwards and backwards.

This is an abstract class; the default implementation of reverse (OLBidirectionalIterator) does nothing.


Member Function Documentation

- (id) reverse  

Reverse the iterator by one position.

After reversing the iterator will point to a position in the container one step before the previous position.

Returns:
a reference to this iterator

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


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