abstract openfl.Vector<T>(Array<T>) from Array<T> to Array<T>

Available on all platforms

Class Fields

function convert<T, U>(v:Array<T>): Vector<U>

function ofArray<T>(a:Array<Dynamic>): Vector<T>

Instance Fields

function new(?length:Int, ?fixed:Bool): Vector<T>

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

function copy(): Vector<T>

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

function iterator<T>(): Iterator<T>

function join(sep:String): String

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

function pop(): Null<T>

function push(x:T): Int

function reverse(): Void

function shift(): Null<T>

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

function sort(f:T ->T ->Int): Void

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

function toString(): String

function unshift(x:T): Void