TypedArray provides strict data-typed array object to the API. This means any type-mismatched element (
e.g. elements
not matching dataType as defined in the constructor) added to the array will be automatically removed & a
Logger warning will be placed if logging is enabled).
Warning: You cannot use the array access ([]) operator to initialize a TypedArray but you may use
it to access elements of an instantiated TypedArray.
Note: This class assumes that the compiler option -as3 is set to true & the compiler
option -es is set to false.
dataType:Class [read-only]
The Class data type of all TypeArray elements.
Implementation
public function get dataType():Class
public function TypedArray(dataType:Class, ... args)
TypedArray Constructor create an array containing only strict data-typed elements of dataType.
Parameters
| dataType:Class — of Class all array element values will be typed.
|
| |
| ... args — array element values.
|
AS3 override function concat(... args):Array
Parameters
Returns
AS3 override function push(... args):uint
Parameters
Returns
AS3 override function splice(... args):*
Parameters
Returns
AS3 override function unshift(... args):uint
Parameters
Returns
Copyright © 2008-2012 jason m horwitz, Sekati LLC. All Rights Reserved.