Skip to content

TFPObjectHashTable.Iterate

Iterate over the objects in the hash table.

Declaration

Source position: contnrs.pp line 508

public 
function Iterate(aMethod: TObjectIteratorMethod) : TObject;  virtual;

function Iterate(aMethod: TObjectIteratorCallback) : TObject;  virtual;

Description

Iterate iterates over all elements in the array, calling aMethod for each object, or until the method returns False in its continue parameter. It returns Nil if all elements were processed, or the object that was being processed when aMethod returned False in the Continue parameter.