Enumerator
| Kind of class: | class |
|---|---|
| Inherits from: | Dispatcher |
| Known subclasses: | |
| Author: | Arthur Clemens |
| Classpath: | org.asapframework.data.Enumerator |
| File last modified: | Thursday, 12 October 2006, 11:19:40 |
Virtual base class for enumerator objects.
Summary
Constructor
Instance properties
Instance properties inherited from Dispatcher
Instance methods
- getCurrentObject : Object
- Retrieves the object at the current pointer position.
- getNextObject : Object
- Moves the pointer forward and returns the object at that position.
- getAllObjects : Array
- Creates an array of all objects.
- reset : Void
- Sets pointer position before the beginning of the first item.
Constructor
Enumerator
function Enumerator (
)
Instance methods
getAllObjects
function getAllObjects (
) : Array
Creates an array of all objects. Original input order may not be preserved.
getCurrentObject
function getCurrentObject (
) : Object
Retrieves the object at the current pointer position.
getNextObject
function getNextObject (
) : Object
Moves the pointer forward and returns the object at that position.
reset
function reset (
) : Void
Sets pointer position before the beginning of the first item.