#import <ObjectiveLib/Iterator.h>
Inheritance diagram for < OLInserter >:
Public Member Functions | |
(OLIterator *) | - insertAt:value: |
Insert a given object at the given position in the container. | |
(BOOL) | - isEqual: |
Test whether a given object is equal to this one. |
OLInserter objects are used to support the insertion behavior of OLInsertIterator, and any object that supports this protocol may be used as the container with a OLInsertIterator.
- (OLIterator*) insertAt: | (OLIterator *) | where | ||
value: | (id) | object | ||
Insert a given object at the given position in the container.
where | the position at which to insert the new object | |
object | the object to insert |
- (BOOL) isEqual: | (id) | object |
Test whether a given object is equal to this one.
The meaning of equality depends on the type of object implementing this protocol.
object | the object to test |
Reimplemented in OLDeque, OLList, OLMap, OLMultiMap, OLSet, OLMultiSet, and OLVector.
|