| Package | com.addicted2flash.util.iterator |
| Class | public class CollectionIterator |
| Implements | IIterator |
ICollections.
| Property | Defined by | ||
|---|---|---|---|
| _collection : ICollection | CollectionIterator | ||
| _count : int | CollectionIterator | ||
| _field : Array | CollectionIterator | ||
| _n : int | CollectionIterator | ||
| Method | Defined by | ||
|---|---|---|---|
|
Create a new
CollectionIterator. | CollectionIterator | ||
|
hasNext():Boolean
Retrieves boolean flag whether the
Iterator has
a next object in its list
| CollectionIterator | ||
|
next():*
Retrieves next object in data-structure
| CollectionIterator | ||
|
remove():void
Removes the last element from the underlying collection returned by the iterator.
| CollectionIterator | ||
| _collection | property |
protected var _collection:ICollection
| _count | property |
protected var _count:int
| _field | property |
protected var _field:Array
| _n | property |
protected var _n:int
| CollectionIterator | () | constructor |
public function CollectionIterator(c:ICollection)
Create a new CollectionIterator.
c:ICollection — ICollection
|
| hasNext | () | method |
public function hasNext():Boolean
Retrieves boolean flag whether the Iterator has
a next object in its list
Boolean — Boolean flag whether the Iterator has
a next object in its list
|
| next | () | method |
public function next():*Retrieves next object in data-structure
Returns* — next object in data-structure
|
| remove | () | method |
public function remove():voidRemoves the last element from the underlying collection returned by the iterator.