Overview

LinkedList

dynamic LinkedList :: {}

A simple LinkedList application.

Heritage

dynamic List

Children

dynamic Link

Variables

Type Name Description
Object:LinkedList.Link head

The first Link in the LinkedList, null if List is empty.

Methods

Return Params Description
Any add(Any &e)

Adds a given element to the LinkedList.

Array iterator()

Inherited

Returns an array of the LinkedList's values.

Array toArray()

Inherited

Returns an array of the LinkedList's values.

Number equals(Object:LinkedList l)

Inherited

Checks the LinkedList for equality with the given List.

Any index(Number pos)

Returns the element at a given position.

Void remove(Number pos)

Removes the element at a given position.

Number size()

Returns the current size of the LinkedList.

String string()

Inherited

Returns a string representation of the LinkedList.