Field Summary |
public
| list: Array |
|
|
|
|
Constructor |
public
| ListCollection (
list: Array)
|
|
|
|
Method Summary |
public
| addItem (
item: Object
): Boolean |
| Adds a new item to the end of the collection.
|
|
public
| clear (
): Void |
| Removes all elements from the collection
|
|
public
| contains (
item: Object
): Boolean |
| Indicates whether the collection contains the specified item.
|
|
public
| getItemAt (
index: Number
): Object |
| Returns an item within the collection by using its index
|
|
public
| getIterator (
) |
| Returns an iterator over the elements in the collection
|
|
public
| getLength (
): Number |
| Returns the number of items in the collection
|
|
public
| isEmpty (
): Boolean |
| Indicates whether the collection is empty.
|
|
public
| removeItem (
item: Object
): Boolean |
| Removes the specified item from the collection
|
|
|
|