Sign in Join
FPDoc Onlineexperiment

TFPObjectHashTable.Iterate function

Member of TFPObjectHashTablepublicIn unit Contnrs

Iterate over the objects in the hash table.

Declaration

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

Arguments

aMethod

Method to call for each object in the hash table.

Function result

Nil or the object that caused the iteration to be aborted.

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.