Package | sekati.collections |
Class | public class StackIterator |
Implements | IDestructiveIterator, IIterator |
Method | Defined by | ||
---|---|---|---|
StackIterator(stack:IStack)
StackIterator Constructor
| StackIterator | ||
hasNext():Boolean
Is there another item in the collection to move to.
| StackIterator | ||
next():Object
Move to the next item and return it.
| StackIterator | ||
peek():Object
Returns the next item in the collection without moving to it.
| StackIterator |
StackIterator | () | constructor |
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 |