TBaseList

Top  Previous  Next

Various generic lists are used throughout RW Net, see the sub-chapters for implementations:

 

TBaseList

 

This is a basic, unsorted list. T is the list item.

 

method Add(Item: T): Integer

method Clear

method Delete(Index: Integer)

method Extract(Index: Integer): T

method Insert(Index: Integer; Item: T)

property Capacity: Integer

property Count: Integer (read-only)

property Items[Index: Integer]: T

 

TBaseListSort adds these methods to TBaseList:

 

method IndexOf(Item: T): Integer

method RemoveDuplicates (calls Sort internally)

method Sort

property ReverseIndex: Boolean

property ReverseItems[Index: Integer]: integer (read-only)

property Sorted: Boolean (read-only)