ArrayVector

Description

sealed class Tinman.Core.Collections.ArrayVector<T>

Derived from

VectorBase<T> abstract
IArrayVector<T>

An implementation of the IVector interface that uses a dynamic array for storing the list elements.

Public / Constructors

ArrayVector


public constructor ArrayVector → (2)

equals opt : EqualsDelegate<T> = null

The equality delegate.

capacity opt : int32 = 12

[>=0]
The initial capacity.

Creates a new instance of ArrayVector.

Copy


public static method Copy → (1)

values in : IBagConst<T>

The values to wrap or null to create an empty list.

returns → ArrayVector<T>

The created ArrayVector object.

Copies the given values in into a compact ArrayVector.

Public / Methods

ClearDirty


public method ClearDirty → ()

Removes all elements from this collection, without setting the element values to their defaults.