| Package | system.data |
| Interface | public interface Iterator |
| Implementors | ArrayIterator, BagIterator, MapIterator, ObjectIterator, ProtectedIterator, StringIterator, VectorIterator |
| Method | Defined By | ||
|---|---|---|---|
hasNext():Boolean
Returns true if the iteration has more elements. | Iterator | ||
key():*
Returns the current key of the internal pointer of the iterator (optional operation). | Iterator | ||
next():*
Returns the next element in the iteration. | Iterator | ||
remove():*
Removes from the underlying collection the last element returned by the iterator (optional operation). | Iterator | ||
reset():void
Reset the internal pointer of the iterator (optional operation). | Iterator | ||
seek(position:*):void
Changes the position of the internal pointer of the iterator (optional operation). | Iterator | ||
| hasNext | () | method |
public function hasNext():Boolean
Returns true if the iteration has more elements.
Boolean — true if the iteration has more elements.
|
| key | () | method |
public function key():*Returns the current key of the internal pointer of the iterator (optional operation).
Returns* — the current key of the internal pointer of the iterator (optional operation).
|
| next | () | method |
public function next():*Returns the next element in the iteration.
Returns* — the next element in the iteration.
|
| remove | () | method |
public function remove():*Removes from the underlying collection the last element returned by the iterator (optional operation).
Returns* |
| reset | () | method |
public function reset():voidReset the internal pointer of the iterator (optional operation).
| seek | () | method |
public function seek(position:*):voidChanges the position of the internal pointer of the iterator (optional operation).
Parameters
position:* |