# ECEnumeratorIterator

## Abstract

Iterator which is based on an enumeration

## Methods

`-hasNext`
`-initWithEnumerator:`
`-next`

### hasNext

>     - (BOOL) hasNext;

method result
  returns YES if there is at least a datum at the current iteration step

### initWithEnumerator:

>     - initWithEnumerator: (NSEnumerator *) anEnumerator;

##### Parameter Descriptions

> `anEnumerator`
>   enumerator to iterate over

method result
  self

### next

>     - next;

method result
  returns the next object of the set to iterate or nil, if not existent

(Last Updated August 27, 2006)