Description | Hierarchy | Fields | Methods | Properties |
type T2DSparsePointerArray = class(TObject)
T2DSparsePointerArray
acts like a 2D array of pointers. It provides constant time access to its elements through the its Items property. However, when many of the elements are nil, it can use much less memory than an array.
![]() |
FData: TSparsePointerArray; |
![]() |
FQuantum: TSPAQuantum; |
![]() |
function GetIsValue(const Index1, Index2: NativeInt): boolean; |
![]() |
function GetItems(const Index1, Index2: NativeInt): Pointer; |
![]() |
procedure SetIsValue(const Index1, Index2: NativeInt; const Value: boolean); |
![]() |
procedure SetItems(const Index1, Index2: NativeInt; const Value: Pointer); |
![]() |
procedure Clear; virtual; |
![]() |
constructor Create(Quantum: TSPAQuantum); |
![]() |
destructor Destroy; override; |
![]() |
property IsValue[constIndex1,Index2:NativeInt]: boolean
read GetIsValue write SetIsValue; |
![]() |
property Items[constIndex1,Index2:NativeInt]: Pointer read GetItems
write SetItems; |
![]() |
FData: TSparsePointerArray; |
|
![]() |
FQuantum: TSPAQuantum; |
|
![]() |
function GetIsValue(const Index1, Index2: NativeInt): boolean; |
See IsValue. |
![]() |
function GetItems(const Index1, Index2: NativeInt): Pointer; |
See Items. |
![]() |
procedure SetIsValue(const Index1, Index2: NativeInt; const Value: boolean); |
See IsValue. |
![]() |
procedure SetItems(const Index1, Index2: NativeInt; const Value: Pointer); |
See Items. |
![]() |
procedure Clear; virtual; |
|
![]() |
constructor Create(Quantum: TSPAQuantum); |
|
![]() |
destructor Destroy; override; |
|
![]() |
property IsValue[constIndex1,Index2:NativeInt]: boolean
read GetIsValue write SetIsValue; |
|
![]() |
property Items[constIndex1,Index2:NativeInt]: Pointer read GetItems
write SetItems; |
|