Package | sekati.collections |
Class | public class ArrayCollection |
Implements | ICollection |
Subclasses | ArrayQueue, ArrayStack |
Property | Defined by | ||
---|---|---|---|
array : Array [read-only]
Return the collection array data
| ArrayCollection | ||
count : uint [read-only]
How many items exist within the collection.
| ArrayCollection | ||
isEmpty : Boolean [read-only]
Whether or not this collection is empty.
| ArrayCollection |
Property | Defined by | ||
---|---|---|---|
_array : Array | ArrayCollection |
Method | Defined by | ||
---|---|---|---|
ArrayCollection(array:Array)
ArrayCollection Constructor
| ArrayCollection | ||
clear():void
Removes all items from the collection.
| ArrayCollection | ||
Returns an IIterator which traverses the items in the collection
starting at index 0, and going to index length-1.
| ArrayCollection |
_array | property |
protected var _array:Array
array | property |
array:Array
[read-only]Return the collection array data
Implementation public function get array():Array
count | property |
count:uint
[read-only]How many items exist within the collection.
Implementation public function get count():uint
isEmpty | property |
isEmpty:Boolean
[read-only]Whether or not this collection is empty.
Implementation public function get isEmpty():Boolean
ArrayCollection | () | constructor |
public function ArrayCollection(array:Array)
ArrayCollection Constructor
Parametersarray:Array — Array of data used in collection.
|
clear | () | method |
public function clear():void
Removes all items from the collection.
getIterator | () | method |
public function getIterator():IIterator
Returns an IIterator which traverses the items in the collection starting at index 0, and going to index length-1.
ReturnsIIterator |