ArrayList

Helper class which emulates an ArrayList due to dynamic arrays not having a remove function for elements.

Uses an associative array to emulate.

Members

Functions

add
void add(T element)

Adds the element to the array at the next position.

remove
void remove(T element)

Removes the element from the array.

Properties

array
T[] array [@property getter]

Representation of the ArrayList as an Array. Returns a copy.

Meta