WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/array;1

This component implements the following interfaces:

Properties

readonly PRUint32 nsIArray.length

Length

Number of elements in the array.

Methods

InterfaceMethod
nsIMutableArray void appendElement ( nsISupports element , PRBool weak )
nsIMutableArray void clear ( )
nsIArray nsISimpleEnumerator enumerate ( )
nsIArray PRUint32 indexOf ( PRUint32 startIndex , nsISupports element )
nsIMutableArray void insertElementAt ( nsISupports element , PRUint32 index , PRBool weak )
nsIArray void queryElementAt ( PRUint32 index , nsIIDRef uuid , out nsQIResult* result )
nsIMutableArray void removeElementAt ( PRUint32 index )
nsIMutableArray void replaceElementAt ( nsISupports element , PRUint32 index , PRBool weak )

Reference documentation is generated from Mozilla's source.