BaseEnumerator

Kind of class: public class
Package:
Inherits from:
  • EventDispatcher
Known subclasses:
Classpath: org.asaplibrary.data.BaseEnumerator
File last modified: Wednesday, 11 May 2011, 18:34:55
Base class for enumerator objects.

Summary

Instance methods
  • getCurrentObject () : *
    • Retrieves the object at the current pointer position.
  • getNextObject () : *
    • 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.

Instance methods

getAllObjects

function getAllObjects() : Array

Creates an array of all objects. Original input order may not be preserved.

getCurrentObject

function getCurrentObject() : *

Retrieves the object at the current pointer position.

getNextObject

function getNextObject() : *

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.