The Vector class is very similar to Array but is only supported by the Flash Player 10+

Constructor

new(?length:UInt, ?fixed:Bool)

Variables

Methods

concat(?a:Vector<T>):Vector<T>

indexOf(x:T, ?from:Int):Int

lastIndexOf(x:T, ?from:Int):Int

pop():Null<T>

push(x:T):Int

shift():Null<T>

slice(?pos:Int, ?end:Int):Vector<T>

sort(f:T‑>T‑>Int):Void

splice(pos:Int, len:Int):Vector<T>

Static methods

staticinlineconvert<T, U>(v:Vector<T>):Vector<U>

staticinlineofArray<T>(v:Array<T>):Vector<T>