|
RAD Studio VCL Reference
|
TCustomBucketList is the base class for lists that store items under a limited number of categories.
TCustomBucketList = class(TObject);
class TCustomBucketList : public TObject;
Use TCustomBucketList as a base class for lists of items that fit into a limited number of categories (or buckets). Each bucket can contain multiple items, and there is a well-defined function (the protected BucketFor method) that determines the bucket into which an item belongs. TCustomBucketList descendants can include lists of items that fall into natural categories, or implementations of a hash table.
Do not create instances of TCustomBucketList. In TCustomBucketList, the BucketFor method is abstract (pure virtual), meaning that descendant classes must override it and provide an implementation.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|