Vector Class extending List

/ The Vector class is a class that provided List functionality. This allows one to push and pop the Value objects which hold values of any type. /

Class Methods

Pushes the Value to the Vector

function push(Value v) : void

Pushes the number "v" to this Vector

function push(number v) : void

Pushes the string "v" to this Vector

function push(string v) : void

Pops the Value from this Vector and returns it

function pop() : Value

Returns the value at the back of this Vector

function back() : Value

Gets the Value with the provided index from the vector

function get(number index) : Value

Returns true if this Vector is empty otherwise false

function isEmpty() : boolean

Returns the size of this Vector

function size() : number