A linked-list of elements. The list is composed of element container objects that are chained together. It is optimized so that adding or removing an element does not imply copying the whole list content every time.

See also:

Constructor

new()

Creates a new empty list.

Variables

read onlylength:Int

The length of this List.

Methods

add(item:T):Void

Adds element item at the end of this List.

this.length increases by 1.

inlineiterator():ListIterator<T>

Returns an iterator on the elements of the list.