[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Iterate over the pointers in the hash table
Source position: contnrs.pp line 431
public function TFPDataHashTable.Iterate( |
aMethod: TDataIteratorMethod |
):Pointer; virtual; |
aMethod: TDataIteratorCallBack |
):Pointer; virtual; |
aMethod |
|
Method to call for each pointer in the hash table. |
Nil or the pointer that caused the iteration to abort.
aMethod |
|
Method to call for each pointer in the hash table. |
Iterate iterates over all elements in the array, calling aMethod for each pointer, or until the method returns False in its continue parameter. It returns Nil if all elements were processed, or the pointer that was being processed when aMethod returned False in the Continue parameter.
The aMethod callback can be a method of an object, or a normal, static procedure.
ForeachCall |