Packagecom.addicted2flash.util
Classpublic class AbstractArraySet
InheritanceAbstractArraySet Inheritance AbstractArrayCollection
ImplementsISet
SubclassesArraySet

This class provides a skeletal implementation of the ISet interface for arrays to minimize the effort required to implement this interface. Concrete implementations of this interface represent collections that contain no duplicate elements and at most one null element.



Public Properties
 PropertyDefined by
 Inheritedlist : Array
return the internal list.
AbstractArrayCollection
Protected Properties
 PropertyDefined by
 Inherited_list : Array
AbstractArrayCollection
Public Methods
 MethodDefined by
  
AbstractArraySet(field:Array = null)
Create a new AbstractArraySet
AbstractArraySet
  
add(o:*):void
Appends the specified element to the end of this list (optional operation).
AbstractArraySet
 Inherited
Adds all of the elements in the specified collection to this collection (optional operation).
AbstractArrayCollection
 Inherited
clear():void
Removes all of the elements from this list (optional operation).
AbstractArrayCollection
 Inherited
Returns a copy of the ICollection.
AbstractArrayCollection
 Inherited
contains(o:*):Boolean
Returns true if this list contains the specified element.
AbstractArrayCollection
 Inherited
Returns true if this collection contains all of the elements in the specified collection.
AbstractArrayCollection
 Inherited
dispose():void
free memory for garbage collection.
AbstractArrayCollection
 Inherited
getAt(i:int):*
Returns the element at the specified position in this collection.
AbstractArrayCollection
 Inherited
isEmpty():Boolean
Returns true if this list contains no elements.
AbstractArrayCollection
 Inherited
Returns an iterator over the elements in this list.
AbstractArrayCollection
 Inherited
remove(o:*):Boolean
Removes the first occurrence in this list of the specified element (optional operation).
AbstractArrayCollection
 Inherited
Removes a single instance of the specified element from this collection, if it is present (optional operation)
AbstractArrayCollection
 Inherited
size():int
Returns the number of elements in this list.
AbstractArrayCollection
 Inherited
toArray():Array
Converts the collection into an array.
AbstractArrayCollection
Constructor detail
AbstractArraySet()constructor
public function AbstractArraySet(field:Array = null)

Create a new AbstractArraySet

Parameters
field:Array (default = null) — (optional) an existing Array
Method detail
add()method
public override function add(o:*):void

Appends the specified element to the end of this list (optional operation).

Parameters
o:*