[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'Contnrs' (#fcl)

# TObjectBucketList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Bucket list using objects instead of pointers.

## Declaration

Source position: contnrs.pp line 589

`type TObjectBucketList = class(TBucketList)`
`public`
`function Add();` |  | Add an object to the list
`function Remove();` |  | Remove an object from the list
`property Data []: TObject; default; [rw]` |  | Associative array of data items
`end;`

## Inheritance

`TObjectBucketList` |  | Bucket list using objects instead of pointers.
`TBucketList` |  | Default bucket list implementation.
`TCustomBucketList` |  | Custom bucket list class
`TObject`

## Description

TObjectBucketList is a class that redefines the associative Data array using TObject instead of Pointer. It also adds some overloaded versions of the Add and Remove calls using TObject instead of Pointer for the argument and result types.

## See also

TObjectBucketList |  | Bucket list using objects instead of pointers.