Packagesekati.collections
Classpublic dynamic class TypedArray

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.

See also

http://livedocs.adobe.com/flex/3/html/help.html?content=10_Lists_of_data_7.html


Public Properties
 PropertyDefined by
  dataType : Class
[read-only] The Class data type of all TypeArray elements.
TypedArray
Public Methods
 MethodDefined by
  
TypedArray(dataType:Class, ... args)
TypedArray Constructor create an array containing only strict data-typed elements of dataType.
TypedArray
Property detail
dataTypeproperty
dataType:Class  [read-only]

The Class data type of all TypeArray elements.

Implementation
    public function get dataType():Class
Constructor detail
TypedArray()constructor
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.
Method detail
concat()method
AS3 override function concat(... args):Array

Parameters
... args

Returns
Array
push()method 
AS3 override function push(... args):uint

Parameters
... args

Returns
uint
splice()method 
AS3 override function splice(... args):*

Parameters
... args

Returns
*
unshift()method 
AS3 override function unshift(... args):uint

Parameters
... args

Returns
uint