Packagecom.ericfeminella.utils.iterators
Classpublic class IteratorFactory

Iterator specific Factory Pattern implementation.

Defines a consistant API which handles Iterator instantiation



Public Methods
 MethodDefined by
  
getIterator(iteratorType:String):IIterator
[static] Handles Iterator object instantiation based on static constants defined by IteratorTypes
IteratorFactory
Method detail
getIterator()method
public static function getIterator(iteratorType:String):IIterator

Handles Iterator object instantiation based on static constants defined by IteratorTypes

Parameters
iteratorType:String — An IteratorTypes static constant representing a valid IteratorType

Returns
IIterator — IIterator interface which defines the Iterator instance which is returned

See also