Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPHashList.Capacity

Capacity of the list.

Declaration

Source position: contnrs.pp line 268

public property TFPHashList.Capacity : Integer
  read FCapacity
  write SetCapacity;

Description

Capacity returns the current capacity of the list. The capacity is expanded as more elements are added to the list. If a good estimate of the number of elements that will be added to the list, the property can be set to a sufficiently large value to avoid reallocation of memory each time the list needs to grow.

See also

Count

  

Current number of elements in the list.

Items

  

Indexed array with pointers.


Documentation generated on: Nov 23 2024