Class TMapIterator
TMapIterator class
TMapIterator implements Iterator interface.
TMapIterator is used by TMap. It allows TMap to return a new iterator for traversing the items in the map.
- TMapIterator implements Iterator
Package: System\Collections
Deprecated: Issue 264 : ArrayIterator should be used instead
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Collections/TMap.php
Deprecated: Issue 264 : ArrayIterator should be used instead
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Collections/TMap.php
public
|
|
public
|
|
public
mixed
|
#
key( )
Returns the key of the current array element. This method is required by the interface Iterator. |
public
mixed
|
|
public
|
#
next( )
Moves the internal pointer to the next array element. This method is required by the interface Iterator. |
public
boolean
|
#
valid( )
Returns whether there is an element at current position. This method is required by the interface Iterator. |