Class TListIterator
TListIterator class
TListIterator implements Iterator interface.
TListIterator is used by TList. It allows TList to return a new iterator for traversing the items in the list.
- TListIterator 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/TList.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/TList.php
public
|
|
public
|
|
public
integer
|
#
key( )
Returns the key of the current array item. This method is required by the interface Iterator. |
public
mixed
|
|
public
|
#
next( )
Moves the internal pointer to the next array item. This method is required by the interface Iterator. |
public
boolean
|
#
valid( )
Returns whether there is an item at current position. This method is required by the interface Iterator. |