Class com.boostworthy.utils.ArrayUtil

Method Index

CheckForElement(), Clone(), Compare(), CreateIndexMap(), InsertElement(), Merge(), RemoveElement(), Shuffle(), Sort(), Swap()

Method Detail

Clone

static public function Clone(aSubject:Array):Array

InsertElement

static public function InsertElement(aSubject:Array, objElement:Object, nIndex:Number):Array

RemoveElement

static public function RemoveElement(aSubject:Array, objElement:Object):Array

CheckForElement

static public function CheckForElement(aSubject:Array, objElement:Object):Number

Compare

static public function Compare(aA:Array, aB:Array):Boolean

Swap

static public function Swap(aSubject:Array, nA:Number, nB:Number):Array

Shuffle

static public function Shuffle(aOld:Array):Array

Merge

static public function Merge(aA:Array, aB:Array):Array

Sort

static public function Sort(aSubject:Array):Array

CreateIndexMap

static public function CreateIndexMap(aA:Array, aB:Array):Array