#import <ObjectiveLib/Iterator.h>
Inheritance diagram for OLFrontInsertIterator:
Public Member Functions | |
(id) | - assign: |
Insert object at the front of the underlying container. | |
(id) | - copy |
Make a copy of this iterator. | |
(BOOL) | - isEqual: |
Return whether this object is equal to another one. | |
Initializers and Deallocators | |
(id) | - initWithFrontInserter: |
Initialize the iterator with the given container. | |
Protected Attributes | |
id< OLFrontInserter > | container |
The container into which items will be inserted by the assign: message. |
The iterator's assign: (OLFrontInsertIterator) message inserts the object to be assigned at the front of the container.
- (id) assign: | (id) | object |
Insert object at the front of the underlying container.
object | the object to insert |
Reimplemented from OLIterator.
- (id) copy |
- (id) initWithFrontInserter: | (id< OLFrontInserter >) | cnr |
Initialize the iterator with the given container.
All insertions will be performed using the given container.
cnr | the container that implements the OLFrontInserter protocol into which to insert items |
- (BOOL) isEqual: | (id) | object |
Return whether this object is equal to another one.
object | the object to test |
Reimplemented from OLIterator.
- (id<OLFrontInserter>) container [protected] |
The container into which items will be inserted by the assign: message.
|