Programming Delphi A Glance to the "LISTS"--Lists Objcets Introduction in Delphi/C++Builder Extension
Notice: Undefined variable: relatedArticlesCount in /home/wwwroot/codeback.net/plugins/content/tags.php on line 149

TObjectBucketList

TObjectBucketList is a simple hash table that stores objects that are identified by other objects.

TObjectBucketList is in Unit Contnrs.

Description

Use TObjectBucketList as a simple hash table to store objects that are indexed by other objects. TObjectBucketList includes methods to add, remove, and locate items in the list, as well as a method that executes a callback for every item in the list.

 

TObjectList

TObjectList maintains a list of (owned) objects.

TObjectList is in Unit Contnrs.

Description

Use TObjectList to store and maintain a list of objects. TObjectList provides properties and methods to add, delete, rearrange, locate, access, and sort objects. If the OwnsObjects property is set to true (the default), TObjectList controls the memory of its objects, freeing an object when its index is reassigned; when it is removed from the list with the Delete, Remove, or Clear method; or when the TObjectList instance is itself destroyed.

 

TComponentList

TComponentList maintains a list of components, updating itself when a component is freed.

TComponentList is in Unit Contnrs.

Description

Use TComponentList to store and maintain a list of components. TComponentList provides properties and methods to add, delete, rearrange, locate, access, and sort components. Like TObjectList, TComponentList controls the memory of its components; unless the OwnsObjects property is set to false (or the components are removed with the Extract method). TComponentList frees its components when they are removed from the list or when the TComponentList instance is itself destroyed.

In addition, TComponentList tracks its components. When a component is freed, TComponentList automatically updates itself by deleting the reference to the freed component and packing the list.

 

TClassList

TClassList maintains a list of classes.

TClassList is in Unit Contnrs.

Description

Use a TClassList object to store and maintain a list of classes.

 

TInterfaceList

TInterfaceList represents a list of interfaces.

TInterfaceList is in Unit Classes.

Description

Use TInterfaceList to manage a list of interfaces.

 

TQueue

TQueue maintains a first-in first-out array of pointers.

TQueue is in Unit Contnrs.

Description

Use a TQueue object to store and maintain a first-in first-out list.

 

TStack

TStack maintains a last-in first-out array of pointers.

TStack is in Unit Contnrs.

Description

Use a TStack object to store and maintain a last-in first-out list.

 

TObjectQueue

TObjectQueue maintains a first-in first-out list of objects.

TObjectQueue is in Unit Contnrs.

Description

Use a TObjectQueue to store and maintain a first-in first-out list of objects.

 

TObjectStack

TObjectStack maintains a last-in first-out list of objects.

TObjectStack is in Unit Contnrs.

Description

Use TObjectStack to store and maintain a last-in first-out list of objects.


Add comment


Security code
Refresh

Programming - Delphi