Package | com.boostworthy.collections.iterators |
Class | public class ReverseArrayIterator |
Implements | IIterator |
See also
Method | Defined by | ||
---|---|---|---|
ReverseArrayIterator(aData:Array)
Constructor.
| ReverseArrayIterator | ||
hasNext():Boolean
Returns a boolean value indicating whether or not the collection has another
element beyond the current index.
| ReverseArrayIterator | ||
next():Object
Returns the element at the current index and then moves on to the next.
| ReverseArrayIterator | ||
reset():void
Resets this iterator back to the last index of the array.
| ReverseArrayIterator |
ReverseArrayIterator | () | constructor |
public function ReverseArrayIterator(aData:Array)
Constructor.
ParametersaData:Array — An array of data to be iterated through by this object.
|
hasNext | () | method |
public function hasNext():Boolean
Returns a boolean value indicating whether or not the collection has another element beyond the current index.
ReturnsBoolean — A boolean value indicating whether or not the collection has another element beyond the current index.
|
next | () | method |
public function next():Object
Returns the element at the current index and then moves on to the next.
ReturnsObject — The element at the current index.
|
reset | () | method |
public function reset():void
Resets this iterator back to the last index of the array.