![]() |
API
0.9.6
|
Defines an interface for enumerators. More...
#import <CPEnumerator.h>
Inheritance diagram for CPEnumerator:Additional Inherited Members | |
Class Methods inherited from CPObject | |
| (BOOL) | + accessInstanceVariablesDirectly |
| (id) | + alloc |
| (id) | + allocWithCoder: |
| (BOOL) | + automaticallyNotifiesObserversForKey: |
| (Class) | + class |
| (void) | + exposeBinding: |
| (void) | + initialize |
| (IMP) | + instanceMethodForSelector: |
| (BOOL) | + instancesRespondToSelector: |
| (BOOL) | + isSubclassOfClass: |
| (CPSet) | + keyPathsForValuesAffectingValueForKey: |
| (void) | + load |
| (id) | + new |
| (void) | + setVersion: |
| (Class) | + superclass |
| (int) | + version |
Instance Variables inherited from CPObject | |
| Class | isa |
Defines an interface for enumerators.
CPEnumerator is a superclass (with useless method bodies) that defines an interface for subclasses to follow. The purpose of an enumerator is to be a convenient system for traversing over the elements of a collection of objects.
Definition at line 2 of file CPEnumerator.h.
|
implementation |
Returns all objects in the collection in an array. No particular ordering is guaranteed.
Definition at line 52 of file CPEnumerator.j.
|
implementation |
Returns the next object in the collection. No particular ordering is guaranteed.
Definition at line 43 of file CPEnumerator.j.