Package | sekati.collections |
Interface | public interface ILoopableIterator extends IBidirectionalIterator, IIterator |
Implementors | ArrayLoopableIterator |
Method | Defined by | ||
---|---|---|---|
glimpse():Object
Returns the previous item in the collection without moving to it.
| IBidirectionalIterator | ||
hasNext():Boolean
Is there another item in the collection to move to.
| IIterator | ||
hasPrevious():Boolean
Is there a previous item in the collection to move to.
| IBidirectionalIterator | ||
isAtEnd():Boolean
Returns
true if we are at the end of the collection. | ILoopableIterator | ||
isAtStart():Boolean
Returns
true if we are at the start of the collection. | ILoopableIterator | ||
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 | ||
previous():Object
Move to the previous item and return it.
| IBidirectionalIterator |
isAtEnd | () | method |
public function isAtEnd():Boolean
Returns true
if we are at the end of the collection.
Boolean |
isAtStart | () | method |
public function isAtStart():Boolean
Returns true
if we are at the start of the collection.
Boolean |