TArrayList<T>.Create Constructor

Overloads

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.

Create

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

Delphi
constructor Create; overload;

Create(IEqualityComparer<T>)

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

Delphi
constructor Create(const Comparer: IEqualityComparer<T>); overload;

Parameters

Comparer
IEqualityComparer<T>

The IEqualityComparer<T> used by lookup operations such as Contains and IndexOf.