Package | com.yworks.support |
Interface | public interface Iterator |
Implementors | CollectionIterator, CompositeIterator, EmptyIterator, SingleIterator |
Method | Defined By | ||
---|---|---|---|
hasNext():Boolean
Tests whether the method next() will return a valid element. | Iterator | ||
next():Object
Gets the next element of the set of elements. | Iterator | ||
reset():void
Sets the Iterator's element cursor to the first element. | Iterator |
hasNext | () | method |
public function hasNext():Boolean
Tests whether the method next()
will return a valid element.
Boolean — true if next() will return a valid element.
|
next | () | method |
public function next():Object
Gets the next element of the set of elements.
ReturnsObject — The next element in the set.
|
reset | () | method |
public function reset():void
Sets the Iterator
's element cursor to the first element.