[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Create a new instance of the hashlist
Source position: contnrs.pp line 307
public constructor TFPHashObjectList.Create( |
FreeObjects: Boolean = True |
); |
FreeObjects |
|
Does the list own the objects |
Create creates a new instance of TFPHashObjectList on the heap and sets the hash capacity to 1.
If FreeObjects is True (the default), then the list owns the objects: when an object is removed from the list, it is destroyed (freed from memory). Clearing the list will free all objects in the list.
|
Removes an instance of the hashlist from the heap |
|
|
Does the list own the objects it contains |