ArrayList

ArrayList is a DList implementation of an array with resizable dimensions without using the GC

Constructors

this
this()

Initialize ArrayList with the default capacity size (10).

this
this(T[] initialArray)

Initialize ArrayList by adding the specified array to the top of the list, the capacity of the list will be equal to the length of the specified array.

this
this(List!T initialList)

Initialize ArrayList by adding the specified DList to the top of the list, the capacity of the list will be equal to the length of the specified DList.

this
this(size_t initialCapacity)

Initialize ArrayList with the specified capacity size.

Destructor

~this
~this()

Destroys the list and disallocates all previously allocated memory.

Meta