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/supports-array;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsICollection void AppendElement ( nsISupports item )
nsISupportsArray [notxpcom] PRBool AppendElements ( nsISupportsArray elements )
nsICollection void Clear ( )
nsISupportsArray nsISupportsArray clone ( )
nsISupportsArray void Compact ( )
nsICollection PRUint32 Count ( )
nsISupportsArray void DeleteElementAt ( PRUint32 index )
nsISupportsArray void DeleteLastElement ( nsISupports element )
nsISupportsArray [notxpcom] nsISupports ElementAt ( PRUint32 index )
nsICollection nsIEnumerator Enumerate ( )
nsISupportsArray [noscript][notxpcom] PRBool EnumerateBackwards ( nsISupportsArrayEnumFunc func , voidPtr* data )
nsISupportsArray [noscript][notxpcom] PRBool EnumerateForwards ( nsISupportsArrayEnumFunc func , voidPtr* data )
nsISupportsArray [notxpcom] PRBool Equals ( nsISupportsArray other )
nsICollection nsISupports GetElementAt ( PRUint32 index )
nsISupportsArray PRInt32 GetIndexOf ( nsISupports possibleElement )
nsISupportsArray PRInt32 GetIndexOfStartingAt ( nsISupports possibleElement , PRUint32 startIndex )
nsISupportsArray PRInt32 GetLastIndexOf ( nsISupports possibleElement )
nsISupportsArray [notxpcom] PRInt32 IndexOf ( nsISupports possibleElement )
nsISupportsArray [notxpcom] PRInt32 IndexOfStartingAt ( nsISupports possibleElement , PRUint32 startIndex )
nsISupportsArray [notxpcom] PRBool InsertElementAt ( nsISupports element , PRUint32 index )
nsISupportsArray [notxpcom] PRBool InsertElementsAt ( nsISupportsArray other , PRUint32 index )
nsISupportsArray [notxpcom] PRInt32 LastIndexOf ( nsISupports possibleElement )
nsISupportsArray [notxpcom] PRBool MoveElement ( PRInt32 from , PRInt32 to )
nsICollection void QueryElementAt ( PRUint32 index , nsIIDRef uuid , out nsQIResult* result )
nsISerializable void read ( nsIObjectInputStream inputStream )
nsICollection void RemoveElement ( nsISupports item )
nsISupportsArray [notxpcom] PRBool RemoveElementAt ( PRUint32 index )
nsISupportsArray [notxpcom] PRBool RemoveElementsAt ( PRUint32 index , PRUint32 count )
nsISupportsArray [notxpcom] PRBool RemoveLastElement ( nsISupports element )
nsISupportsArray [notxpcom] PRBool ReplaceElementAt ( nsISupports element , PRUint32 index )
nsICollection void SetElementAt ( PRUint32 index , nsISupports item )
nsISupportsArray [notxpcom] PRBool SizeTo ( PRInt32 size )
nsISerializable void write ( nsIObjectOutputStream outputStream )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com