Packagemx.utils
Classpublic class VectorUtil
InheritanceVectorUtil Inheritance Object



Public Methods
 MethodDefined By
  
getFirstItem(v:Vector.<int>):int
[static] Given a Vector, returns the value of the first item, or -1 if there are no items in the Vector;
VectorUtil
  
toArrayInt(v:Vector.<int>):Array
[static]
VectorUtil
  
toArrayObject(v:Vector.<Object>):Array
[static]
VectorUtil
Method Detail
getFirstItem()method
public static function getFirstItem(v:Vector.<int>):int

Given a Vector, returns the value of the first item, or -1 if there are no items in the Vector;

Parameters

v:Vector.<int>

Returns
int
toArrayInt()method 
public static function toArrayInt(v:Vector.<int>):Array

Parameters

v:Vector.<int>

Returns
Array
toArrayObject()method 
public static function toArrayObject(v:Vector.<Object>):Array

Parameters

v:Vector.<Object>

Returns
Array