Packageorg.servebox.commons.collection
Interfacepublic interface IIterator
SubinterfacesIListIterator

An iterator for collections.



Public Methods
 MethodDefined by
  
hasNext():Boolean
Indicates whether the iterator has more elements when iterate the list in the forward direction.
IIterator
  
Retrieves the next element in the underlying list.
IIterator
  
remove():void
Removes the current element.
IIterator
Method detail
hasNext()method
public function hasNext():Boolean

Indicates whether the iterator has more elements when iterate the list in the forward direction.

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

Retrieves the next element in the underlying list.

Returns
IBasicObject
remove()method 
public function remove():void

Removes the current element. The current element is the last that was read using next or previous.