TIntegerList

From Ultibo.org
Jump to: navigation, search

Return to Unit UltiboClasses


Description


To be documented

Class definitions



TIntegerList = class(TObject)

Note: Same as a TStringList but for Integer values
 
constructor Create;  
destructor Destroy; override;  
private
FItems:TList;  
function GetItem(Idx:Integer):Integer;  
procedure SetItem(Idx,Value:Integer);  
function GetCount:Integer;  
public
property Items[Idx:Integer]:Integer read GetItem write SetItem;  
property Count:Integer read GetCount;  
function Add(AValue:Integer):Integer;  
function Remove(AValue:Integer):Integer;  
procedure Delete(Idx:Integer);  
function IndexOf(AValue:Integer):Integer;  
procedure Clear;  


Function declarations



constructor TIntegerList.Create;
Description: To be documented
Note None documented


destructor TIntegerList.Destroy;
Description: To be documented
Note None documented


function TIntegerList.GetItem(Idx:Integer):Integer;
Description: To be documented
Note None documented


procedure TIntegerList.SetItem(Idx,Value:Integer);
Description: To be documented
Note None documented


function TIntegerList.GetCount:Integer;
Description: To be documented
Note None documented


function TIntegerList.Add(AValue:Integer):Integer;
Description: To be documented
Note None documented


function TIntegerList.Remove(AValue:Integer):Integer;
Description: To be documented
Note None documented


procedure TIntegerList.Delete(Idx:Integer);
Description: To be documented
Note None documented


function TIntegerList.IndexOf(AValue:Integer):Integer;
Description: To be documented
Note None documented


procedure TIntegerList.Clear;
Description: To be documented
Note None documented


Return to Unit Reference