| Package | system.data.iterators |
| Class | public class MapIterator |
| Inheritance | MapIterator Object |
| Implements | Iterator |
Map to an iterator.
| Method | Defined By | ||
|---|---|---|---|
MapIterator(m:Map)
Creates a new MapIterator instance. | MapIterator | ||
hasNext():Boolean
Returns true if the iteration has more elements. | MapIterator | ||
key():*
Returns the current key of the internal pointer of the iterator (optional operation). | MapIterator | ||
next():*
Returns the next element in the iteration. | MapIterator | ||
remove():*
Removes from the underlying collection the last element returned by the iterator (optional operation). | MapIterator | ||
reset():void
Reset the internal pointer of the iterator (optional operation). | MapIterator | ||
seek(position:*):void
Change the position of the internal pointer of the iterator (optional operation). | MapIterator | ||
| MapIterator | () | Constructor |
public function MapIterator(m:Map)Creates a new MapIterator instance.
Parametersm:Map — the Map reference of this 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:*):voidChange the position of the internal pointer of the iterator (optional operation).
Parameters
position:* |