TArrayList<T> Class

Definition

Provides a resizable array-backed implementation of IList<T>.

Delphi
TArrayList<T> = class(TInterfacedObject, IList<T>)

Type Parameters

T

The type of values in the list.

Inheritance
TInterfacedObject
TArrayList<T>
Derived
Implements

Remarks

This class is the default implementation returned by TCollections.CreateList<T>.

Constructors

Create

Initializes a new instance of the TArrayList<T> class.

Create(IEqualityComparer<T>)

Initializes a new instance of the TArrayList<T> class with an equality comparer.

Destroy

Releases the resources used by the list.

Properties

Methods