VectorImpl

private class haxe.ds.VectorImplimport haxe.ds.VectorAvailable in flash8, flash, neko, js, php, cpp, cs, java static var length(get_length,null) : IntAvailable in java static var length(get_length,null) : IntAvailable in flash8, flash, neko, js, php, cpp, cs static inline function _new<T>( length : Int ) : VectorData<T>Available in javaCreates a new Vector of length length.
Initially this Vector contains length neutral elements: - always null on dynamic targets - 0, 0.0 or false for Int, Float and Bool respectively on static targets - null for other types on static targets
If length is less than or equal to 0, the result is unspecified.
static inline function _new( length : Int ) : VectorData<T>Available in flash8, flash, neko, js, php, cpp, csCreates a new Vector of length length.
Initially this Vector contains length neutral elements: - always null on dynamic targets - 0, 0.0 or false for Int, Float and Bool respectively on static targets - null for other types on static targets
If length is less than or equal to 0, the result is unspecified.
static function blit<T>( src : Vector<T>, srcPos : Int, dest : Vector<T>, destPos : Int, len : Int ) : Void static inline function fromArrayCopy<T>( array : Array<T> ) : Vector<T>Creates a new Vector by copying the elements of array.
This always creates a copy, even on platforms where the internal representation is Array.
The elements are not copied and retain their identity, so ai == Vector.fromArrayCopy(a).get(i) is true for any valid i.
If array is null, the result is unspecified.
static inline function fromData<T>( data : VectorData<T> ) : Vector<T>Initializes a new Vector from data.
Since data is the internal representation of Vector, this is a no-op.
If data is null, the corresponding Vector is also null.
static inline function get<T>( this : VectorData<T>, index : Int ) : Null<T>Available in java static inline function get( this : VectorData<T>, index : Int ) : Null<T>Available in flash8, flash, neko, js, php, cpp, cs static inline function set<T>( this : VectorData<T>, index : Int, val : T ) : TAvailable in java static inline function set( this : VectorData<T>, index : Int, val : T ) : TAvailable in flash8, flash, neko, js, php, cpp, cs static inline function toData<T>( this : VectorData<T> ) : VectorData<T>Available in java static inline function toData( this : VectorData<T> ) : VectorData<T>Available in flash8, flash, neko, js, php, cpp, cs
version #16211, modified 2013-02-24 23:50:03 by api
0 comment