ObjectiveLib
1.0.0
|
A type of object that can insert values at a certain position in the controlled sequence. More...
#import <ObjectiveLib/Iterator.h>
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. |
A type of object that can insert values at a certain position in the controlled sequence.
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 OLMultiMap, OLMultiSet, OLDeque, OLMap, OLVector, OLList, and OLSet.
|