[Overview][Constants][Types][Classes][Index] |
Current capacity of the list
Source position: fgl.pp line 92
public property TFPSList.Capacity : Integer |
Capacity is the current capacity (maximum amount of elements) of the list. The list capacity will expand automatically if an item is added and the capacity is reached (i.e. TFPSList.Count equals capacity. Expanding the list is an expensive operation involving reallocation of memory and moving of list data in memory, so capacity can be set to a large amount to avoid frequent reallocations.
|
Current element count |
|
|
Expand the capacity of the list |
|
|
Items in the list |