API 0.9.5
CPEnumerator Class Reference

Defines an interface for enumerators. More...

#import <CPEnumerator.h>

Inheritance diagram for CPEnumerator:

List of all members.

Instance Methods

(CPArray- allObjects
(id) - nextObject

Detailed Description

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.


Method Documentation

- (CPArray) allObjects

Returns all objects in the collection in an array. No particular ordering is guaranteed.

Definition at line 52 of file CPEnumerator.j.

- (id) nextObject

Returns the next object in the collection. No particular ordering is guaranteed.

Definition at line 43 of file CPEnumerator.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines