| Package | sekati.collections |
| Class | public class ArrayLoopableIterator |
| Inheritance | ArrayLoopableIterator ArrayBidirectionalIterator |
| Implements | ILoopableIterator, IPointerIterator |
| Method | Defined by | ||
|---|---|---|---|
|
ArrayLoopableIterator(array:Array)
ArrayLoopableIterator Constructor
| ArrayLoopableIterator | ||
![]() |
current():Object
Return the current element
| ArrayBidirectionalIterator | |
|
glimpse():Object
Return a
glimple of the previous element without
directionally iterating the pointer backwards. | ArrayLoopableIterator | ||
|
hasNext():Boolean
Override: ArrayLoopableIterator always has a previous element.
| ArrayLoopableIterator | ||
|
hasPrevious():Boolean
Override: ArrayLoopableIterator always has a next element.
| ArrayLoopableIterator | ||
|
isAtEnd():Boolean
Return
true if pointer is at the end of the collection. | ArrayLoopableIterator | ||
|
isAtStart():Boolean
Return
true if pointer is at the begining of the collection. | ArrayLoopableIterator | ||
|
next():Object
Override: ArrayLoopableIterator starts at beginning once iteration completes.
| ArrayLoopableIterator | ||
|
peek():Object
Return a
peek of the next element without
directionally iterating the pointer forwards. | ArrayLoopableIterator | ||
|
previous():Object
Override: ArrayLoopableIterator starts at end upon interating to the begining.
| ArrayLoopableIterator | ||
![]() |
reset():void
Reset iterative pointer index.
| ArrayBidirectionalIterator | |
| ArrayLoopableIterator | () | constructor |
public function ArrayLoopableIterator(array:Array)ArrayLoopableIterator Constructor
Parametersarray:Array |
| glimpse | () | method |
public override function glimpse():Object
Return a glimple of the previous element without
directionally iterating the pointer backwards.
Object |
| hasNext | () | method |
public override function hasNext():BooleanOverride: ArrayLoopableIterator always has a previous element.
ReturnsBoolean |
| hasPrevious | () | method |
public override function hasPrevious():BooleanOverride: ArrayLoopableIterator always has a next element.
ReturnsBoolean |
| isAtEnd | () | method |
public function isAtEnd():Boolean
Return true if pointer is at the end of the collection.
Boolean |
| isAtStart | () | method |
public function isAtStart():Boolean
Return true if pointer is at the begining of the collection.
Boolean |
| next | () | method |
public override function next():ObjectOverride: ArrayLoopableIterator starts at beginning once iteration completes.
ReturnsObject — Object
|
| peek | () | method |
public override function peek():Object
Return a peek of the next element without
directionally iterating the pointer forwards.
Object |
| previous | () | method |
public override function previous():ObjectOverride: ArrayLoopableIterator starts at end upon interating to the begining.
ReturnsObject |