abstract openfl.Vector<T>(VectorData<T>)

Available on all platforms

Class Fields

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

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

Instance Fields

function new(?length:Int = 0, ?fixed:Bool = false):VectorData<T>

function concat(?a:VectorData<T> = null):Vector<T>

function copy():Vector<T>

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

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

function join(sep:String):String

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

function pop():Null<T>

function push(x:T):Int

function reverse():Void

function shift():Null<T>

function slice(?pos:Int = 0, ?end:Int = 0):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