Class TCustomList
Unit
Generics.Collections
Declaration
type TCustomList<T> = class abstract(TEnumerableWithPointers<T>)
Description
More info: http://stackoverflow.com/questions/5232198/about-vectors-growth TODO: custom memory managers (as constraints) ˜approximation to golden ratio: n = n * 1.5 } {$DEFINE CUSTOM_LIST_CAPACITY_INC := Result * 2} // standard inc
Hierarchy
Overview
Internal Types
Fields
Methods
Properties
Description
Internal Types
 |
PT = ˆT; |
|
Fields
 |
FLength: SizeInt; |
|
 |
FItems: array of T; |
|
Methods
 |
function GetCapacity: SizeInt; inline; |
|
 |
function PrepareAddingItem: SizeInt; virtual; |
|
 |
function PrepareAddingRange(ACount: SizeInt): SizeInt; virtual; |
|
 |
procedure SetCapacity(AValue: SizeInt); virtual; abstract; |
|
 |
function GetCount: SizeInt; virtual; |
|
 |
function ToArray: TArray<T>; override; final; |
|
 |
procedure TrimExcess; virtual; abstract; |
|
Properties
Generated by PasDoc 0.15.0.
|