#import <ObjectiveLib/Iterator.h>
Inheritance diagram for OLReverseRandomIterator:
Public Member Functions | |
(id) | - advanceBy: |
Advance or reverse the iterator by a given number of positions. | |
(id) | - copy |
Make a copy of this iterator. | |
(BOOL) | - isEqual: |
Return whether this object is equal to another one. |
All operations are performed on the the iterator that is passed to this iterator. However, they are reversed: advance (OLReverseBidiIterator) causes the target iterator to reverse, and so forth.
- (id) advanceBy: | (int) | count |
Advance or reverse the iterator by a given number of positions.
This has the effect of advancing or reversing the underlying target iterator by the negation of count.
count | the number of positions to move the iterator, either forward or backward |
- (id) copy |
Make a copy of this iterator.
Reimplemented from OLReverseBidiIterator.
- (BOOL) isEqual: | (id) | object |
Return whether this object is equal to another one.
object | the object to test |
Reimplemented from OLReverseBidiIterator.
|