gugga.collections.ArrayList Class Reference

Inheritance diagram for gugga.collections.ArrayList:

Inheritance graph
[legend]
Collaboration diagram for gugga.collections.ArrayList:

Collaboration graph
[legend]
List of all members.

Detailed Description

Author:
todor

Definition at line 7 of file ArrayList.as.

Public Member Functions

function addItem (aValue)
function addAll (aArray:Array)
function removeItem (aValue)
function removeAt (aIndex:Number)
function containsItem (aValue)
function indexOf (aValue)
function isEmpty (aValue)
function getItem (aIndex:Number)
function clone ()
function getIterator ()


Member Function Documentation

function gugga.collections.ArrayList.addItem ( aValue   ) 

Definition at line 9 of file ArrayList.as.

function gugga.collections.ArrayList.addAll ( aArray:Array   ) 

Definition at line 14 of file ArrayList.as.

function gugga.collections.ArrayList.removeItem ( aValue   ) 

Definition at line 22 of file ArrayList.as.

function gugga.collections.ArrayList.removeAt ( aIndex:Number   ) 

Definition at line 31 of file ArrayList.as.

function gugga.collections.ArrayList.containsItem ( aValue   ) 

Definition at line 43 of file ArrayList.as.

function gugga.collections.ArrayList.indexOf ( aValue   ) 

Definition at line 55 of file ArrayList.as.

function gugga.collections.ArrayList.isEmpty ( aValue   ) 

Definition at line 69 of file ArrayList.as.

function gugga.collections.ArrayList.getItem ( aIndex:Number   ) 

Definition at line 81 of file ArrayList.as.

function gugga.collections.ArrayList.clone (  ) 

Definition at line 86 of file ArrayList.as.

function gugga.collections.ArrayList.getIterator (  ) 

Returns an ArrayListIterator provided with a shallow copy of the ArrayList. Once you get the iterator its independent of the changes made on the ArrayList.

Iterating over a shallow copy of the list makes the iteration much more robust, but it still doesn't protect you from accessing an empty reference in case you completely destroy an object refered by an ArrayList item after the iterator is instantiated.

Definition at line 101 of file ArrayList.as.


Generated on Fri May 11 17:13:26 2007 for GuggaFramework by  doxygen 1.5.2