Skip to main content

TsgHashList

Unit:sgLists

Description

TsgHashList stores an array of pointers.

Syntax

type TsgHashList = class(TsgInterfacedObject, IsgCollectionPointer)

Properties

PropertiesDescription
CountThe property indicates the number of entries in the list that are in use.
ItemsThe property specifies a separate item in the list by its index.

Methods

MethodsDescription
AddThe method inserts a new item at the end of the list.
ClearThe method deletes all items from the list.
CopyFromThe method copies data from a specified list to this list.
CopyToThe method copies data from this list to a specified list.
CreateThe method creates a new list and initializes its data.
DeleteThe method removes the item at the position given by the parameter.
DestroyThe method destroys an instance of TsgHashList.
IndexOfThe method returns the index of the first entry in the Items array with a specified value.
RemoveThe method deletes the first reference to the Item parameter from the Items array.