Package | sekati.collections |
Interface | public interface IIterator |
Subinterfaces | IBidirectionalIterator |
Implementors | ArrayBounceIterator, ArrayIterator, DisplayListIterator, FilteredIterator, StackIterator, XMLListIterator |
Method | Defined by | ||
---|---|---|---|
hasNext():Boolean
Is there another item in the collection to move to.
| IIterator | ||
next():Object
Move to the next item and return it.
| IIterator | ||
peek():Object
Returns the next item in the collection without moving to it.
| IIterator |
hasNext | () | method |
public function hasNext():Boolean
Is there another item in the collection to move to.
ReturnsBoolean |
next | () | method |
public function next():Object
Move to the next item and return it.
ReturnsObject |
peek | () | method |
public function peek():Object
Returns the next item in the collection without moving to it.
ReturnsObject |