Packagecom.addicted2flash.util.iterator
Interfacepublic interface IListIterator extends IIterator
ImplementorsListIterator

Interface for traversing IList data-structures.



Public Methods
 MethodDefined by
  
addObject(o:*):void
Inserts the specified element into the list.
IListIterator
 Inherited
hasNext():Boolean
Retrieves boolean flag whether the Iterator has a next object in its list
IIterator
  
hasPrevious():Boolean
Retrieves boolean flag whether the IListIterator has a previous object in its list
IListIterator
 Inherited
next():*
Retrieves next object in data-structure
IIterator
  
Retrieves previous object in data-structure
IListIterator
 Inherited
remove():void
Removes the last element from the underlying collection returned by the iterator.
IIterator
  
setObject(o:*):void
Replaces the last element returned by next or previous with the specified element.
IListIterator
Method detail
addObject()method
public function addObject(o:*):void

Inserts the specified element into the list. The element is inserted immediately before the next element that would be returned by next, if any, and after the next element that would be returned by previous, if any. (If the list contains no elements, the new element becomes the sole element on the list.)

Parameters
o:*
hasPrevious()method 
public function hasPrevious():Boolean

Retrieves boolean flag whether the IListIterator has a previous object in its list

Returns
Boolean — Boolean flag whether the IListIterator has a previous object in its list
previous()method 
public function previous():*

Retrieves previous object in data-structure

Returns
* — previous object in data-structure
setObject()method 
public function setObject(o:*):void

Replaces the last element returned by next or previous with the specified element. This call can be made only if neither ListIterator.remove nor ListIterator.add have been called after the last call to next or previous.

Parameters
o:*