Packagesekati.collections
Classpublic class DisplayListIterator
ImplementsIDestructiveIterator, IIterator

DisplayList based Iterator



Public Methods
 MethodDefined by
  
DisplayListIterator(container:DisplayObjectContainer)
DisplayListIterator Constructor
DisplayListIterator
  
hasNext():Boolean
Is there another item in the collection to move to.
DisplayListIterator
  
next():Object
Move to the next item and return it.
DisplayListIterator
  
peek():Object
Returns the next item in the collection without moving to it.
DisplayListIterator
Constructor detail
DisplayListIterator()constructor
public function DisplayListIterator(container:DisplayObjectContainer)

DisplayListIterator Constructor

Parameters
container:DisplayObjectContainer — DisplayObjectContainer used in iteration.
Method detail
hasNext()method
public function hasNext():Boolean

Is there another item in the collection to move to.

Returns
Boolean
next()method 
public function next():Object

Move to the next item and return it.

Returns
Object
peek()method 
public function peek():Object

Returns the next item in the collection without moving to it.

Returns
Object