A type of object that supports inserting objects at the front of the controlled sequence.
More...
#import <ObjectiveLib/Iterator.h>
List of all members.
Public Member Functions |
(BOOL) | - isEqual: |
| Test whether a given object is equal to this one.
|
(void) | - pushFront: |
| Insert a given object at the front of the controlled sequence.
|
Detailed Description
A type of object that supports inserting objects at the front of the controlled sequence.
OLFrontInserter objects are used to support the insertion behavior of OLFrontInsertIterator, and any object that supports this protocol may be used as the container with a OLFrontInsertIterator.
- See also:
- OLFrontInsertIterator, OLDeque, OLList
Member Function Documentation
Test whether a given object is equal to this one.
The meaning of equality depends on the type of object implementing this protocol.
- Parameters:
-
- Returns:
- YES if this object is equal to the given one, NO if not
Reimplemented in OLDeque, and OLList.
Insert a given object at the front of the controlled sequence.
The object is added to the collection in a manner dependent on the type of object implementing this protocol.
- Parameters:
-
object | the object to add to the controlled sequence |
Reimplemented in OLDeque, and OLList.
The documentation for this protocol was generated from the following file: