回复:如何保证一个Array或者dataprovider里面的数据不重复
Class ArrayUtil
-----------------------
createUniqueCopy () method
public static function createUniqueCopy(a:Array):Array
Create a new array that only contains unique instances of objects in the specified array. Basically, this can be used to remove duplication object instances from an array
Parameters
a:Array — The array which contains the values that will be used to create the new array that contains no duplicate values.
Returns
Array — A new array which only contains unique items from the specified arra