List Class extending Object

/ The List class is a pure class that holds is the base skeleton for all List classes that want to provide List functionality /

Class Methods

Pushes the Value to the List

function push(Value v) : void


Pops the Value from this list and returns it

function pop() : Value

Gets the Value with the provided index from the list

function get(number index) : Value


Returns true if this List is empty otherwise false

function isEmpty() : boolean

Returns the size of this List

function size() : number