| Package | com.yworks.bridge.util |
| Interface | public interface Iterator |
| Method | Defined By | ||
|---|---|---|---|
hasNext():Boolean
Answers if there are more elements to iterate. | Iterator | ||
nextItem():Object
Answers the next object in the iteration. | Iterator | ||
removeItem():void
Removes the last object returned by next from the collection. | Iterator | ||
| hasNext | () | method |
public function hasNext():BooleanAnswers if there are more elements to iterate.
ReturnsBoolean — true if there are more elements, false otherwise
|
See also
| nextItem | () | method |
public function nextItem():ObjectAnswers the next object in the iteration.
ReturnsObject — the next object
|
Error — when there are no more elements
|
See also
| removeItem | () | method |
public function removeItem():void
Removes the last object returned by next from the collection.
flash.errors:IllegalOperationError — when removing is not supported by the collection being iterated
| |
Error — when next has not been called, or remove has already been called after the last call to next
|