Packageorg.wak.utils
Interfacepublic interface IIterator
ImplementorsArrayIterator

Provide interface to use a traditional iterator



Public Methods
 MethodDefined by
  
hasNext():Boolean
Returns true if the iteration has more elements.
IIterator
  
next():Object
Returns the next element in the iteration.
IIterator
  
remove():void
Removes from the underlying collection the last element returned by the iterator (optional operation).
IIterator
Method detail
hasNext()method
public function hasNext():Boolean

Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Returns
Boolean — Returns true if the iteration has more elements.
next()method 
public function next():Object

Returns the next element in the iteration.

Returns
Object — the next element in the iteration.
remove()method 
public function remove():void

Removes from the underlying collection the last element returned by the iterator (optional operation). This method can be called only once per call to next. The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method.