Description | Hierarchy | Fields | Methods | Properties |
type TRealList = class(TObject)
TRealList
is similar to TList except that it stores doubles instead of pointers.
FList: TList; |
|
FSorted: boolean; |
function GetCapacity: integer; |
|
function GetCount: integer; |
|
function GetItem(Index: integer): double; |
|
procedure SetCapacity(ACapacity: Integer); |
|
procedure SetCount(Value: integer); |
|
procedure SetItem(Index: integer; const AReal: double); |
|
procedure SetSorted(const Value: boolean); |
|
function Add(const AReal: double): integer; |
|
function AddUnique(const AReal: double): integer; |
|
procedure Assign(ARealList: TRealList); |
|
procedure Clear; |
|
constructor Create; |
|
procedure Delete(const Index: Integer); |
|
destructor Destroy; override; |
|
class procedure Error(const Msg: string; Data: Integer); virtual; |
|
procedure Exchange(Index1, Index2: Integer); |
|
function First: double; |
|
function IndexOf(const AReal: double): integer; |
|
function IndexOfClosest(const AReal: double): integer; |
|
procedure Insert(Index: Integer; AReal: double); |
|
function Last: double; |
|
procedure Move(CurIndex, NewIndex: Integer); |
|
procedure Reverse; |
|
procedure Sort; |
property Capacity: integer read GetCapacity write SetCapacity; |
|
property Count: integer read GetCount write SetCount; |
|
property Items[Index:integer]: double read GetItem write SetItem; |
|
property Sorted: boolean read FSorted write SetSorted; |
FSorted: boolean; |
|
|
function GetCapacity: integer; |
|
See Capacity. |
function GetCount: integer; |
|
See Count. |
function GetItem(Index: integer): double; |
|
See Items. |
procedure SetCapacity(ACapacity: Integer); |
|
See Capacity. |
procedure SetCount(Value: integer); |
|
See Count. |
procedure SetItem(Index: integer; const AReal: double); |
|
See Items. |
procedure SetSorted(const Value: boolean); |
|
See Sorted. |
function Add(const AReal: double): integer; |
|
|
function AddUnique(const AReal: double): integer; |
|
|
procedure Assign(ARealList: TRealList); |
|
|
procedure Clear; |
|
|
constructor Create; |
|
see inherited Create. |
procedure Delete(const Index: Integer); |
|
|
destructor Destroy; override; |
|
see inherited Destroy. |
class procedure Error(const Msg: string; Data: Integer); virtual; |
|
|
procedure Exchange(Index1, Index2: Integer); |
|
|
function First: double; |
|
|
function IndexOf(const AReal: double): integer; |
|
|
function IndexOfClosest(const AReal: double): integer; |
|
|
procedure Insert(Index: Integer; AReal: double); |
|
|
function Last: double; |
|
|
procedure Move(CurIndex, NewIndex: Integer); |
|
|
procedure Reverse; |
|
procedure Sort; |
|
|
property Capacity: integer read GetCapacity write SetCapacity; |
|
|
property Count: integer read GetCount write SetCount; |
|
|
property Items[Index:integer]: double read GetItem write SetItem; |
|
|
property Sorted: boolean read FSorted write SetSorted; |
|
If |