Collection |
12 other children |
A ‘java-style’ collection interface.
| Collection | A ‘java-style’ collection interface. |
| Functions and Properties | |
| contains | Determines if the collection contains a given item. |
| clear | Clears all items. |
| getIterator | Initializes an iterator object pointing to the first item in the collection. |
| size | The total number of items. |
| isEmpty | Checks if the collection is empty. |
| toArray | Converts the collection into an array. |
Determines if the collection contains a given item.
function contains( obj: * ):Boolean
Clears all items.
function clear():void
Initializes an iterator object pointing to the first item in the collection.
function getIterator():Iterator
The total number of items.
function get size():int
Checks if the collection is empty.
function isEmpty():Boolean
Converts the collection into an array.
function toArray():Array