nsISupportsArray

Please add a summary to this article.
Inherits from: nsICollection Last changed in Gecko 1.7

Method overview

boolean AppendElements(in nsISupportsArray aElements); Violates the XPCOM interface guidelines
nsISupportsArray clone();
void Compact();
void DeleteElementAt(in unsigned long aIndex);
void DeleteLastElement(in nsISupports aElement);
nsISupports ElementAt(in unsigned long aIndex); Violates the XPCOM interface guidelines
boolean EnumerateBackwards(in nsISupportsArrayEnumFunc aFunc, in voidPtr aData); Violates the XPCOM interface guidelines
boolean EnumerateForwards(in nsISupportsArrayEnumFunc aFunc, in voidPtr aData); Violates the XPCOM interface guidelines
boolean Equals([const] in nsISupportsArray other); Violates the XPCOM interface guidelines
long GetIndexOf(in nsISupports aPossibleElement);
long GetIndexOfStartingAt(in nsISupports aPossibleElement, in unsigned long aStartIndex);
long GetLastIndexOf(in nsISupports aPossibleElement);
long IndexOf([const] in nsISupports aPossibleElement); Violates the XPCOM interface guidelines
long IndexOfStartingAt([const] in nsISupports aPossibleElement, in unsigned long aStartIndex); Violates the XPCOM interface guidelines
boolean InsertElementAt(in nsISupports aElement, in unsigned long aIndex); Violates the XPCOM interface guidelines
boolean InsertElementsAt(in nsISupportsArray aOther, in unsigned long aIndex); Violates the XPCOM interface guidelines
long LastIndexOf([const] in nsISupports aPossibleElement); Violates the XPCOM interface guidelines
boolean MoveElement(in long aFrom, in long aTo); Violates the XPCOM interface guidelines
boolean RemoveElementAt(in unsigned long aIndex); Violates the XPCOM interface guidelines
boolean RemoveElementsAt(in unsigned long aIndex, in unsigned long aCount); Violates the XPCOM interface guidelines
boolean RemoveLastElement([const] in nsISupports aElement); Violates the XPCOM interface guidelines
boolean ReplaceElementAt(in nsISupports aElement, in unsigned long aIndex); Violates the XPCOM interface guidelines
boolean SizeTo(in long aSize); Violates the XPCOM interface guidelines

Methods

Violates the XPCOM interface guidelines

AppendElements()

boolean AppendElements(
  in nsISupportsArray aElements
);
Parameters
aElements
Return value

clone()

nsISupportsArray clone();
Parameters

None.

Return value

Compact()

void Compact();
Parameters

None.

DeleteElementAt()

void DeleteElementAt(
  in unsigned long aIndex
);
Parameters
aIndex

DeleteLastElement()

void DeleteLastElement(
  in nsISupports aElement
);
Parameters
aElement

Violates the XPCOM interface guidelines

ElementAt()

nsISupports ElementAt(
  in unsigned long aIndex
);
Parameters
aIndex
Return value

EnumerateBackwards()

[notxpcom, noscript] boolean EnumerateBackwards(
  in nsISupportsArrayEnumFunc aFunc,
  in voidPtr aData
);
Parameters
aFunc
aData
Return value

EnumerateForwards()

[notxpcom, noscript] boolean EnumerateForwards(
  in nsISupportsArrayEnumFunc aFunc,
  in voidPtr aData
);
Parameters
aFunc
aData
Return value

Violates the XPCOM interface guidelines

Equals()

boolean Equals(
  [const] in nsISupportsArray other
);
Parameters
other
Return value

GetIndexOf()

long GetIndexOf(
  in nsISupports aPossibleElement
);
Parameters
aPossibleElement
Return value

GetIndexOfStartingAt()

long GetIndexOfStartingAt(
  in nsISupports aPossibleElement,
  in unsigned long aStartIndex
);
Parameters
aPossibleElement
aStartIndex
Return value

GetLastIndexOf()

long GetLastIndexOf(
  in nsISupports aPossibleElement
);
Parameters
aPossibleElement
Return value

Violates the XPCOM interface guidelines

IndexOf()

long IndexOf(
  [const] in nsISupports aPossibleElement
);
Parameters
aPossibleElement
Return value

Violates the XPCOM interface guidelines

IndexOfStartingAt()

long IndexOfStartingAt(
  [const] in nsISupports aPossibleElement,
  in unsigned long aStartIndex
);
Parameters
aPossibleElement
aStartIndex
Return value

Violates the XPCOM interface guidelines

InsertElementAt()

boolean InsertElementAt(
  in nsISupports aElement,
  in unsigned long aIndex
);
Parameters
aElement
aIndex
Return value

Violates the XPCOM interface guidelines

InsertElementsAt()

boolean InsertElementsAt(
  in nsISupportsArray aOther,
  in unsigned long aIndex
);
Parameters
aOther
aIndex
Return value

Violates the XPCOM interface guidelines

LastIndexOf()

long LastIndexOf(
  [const] in nsISupports aPossibleElement
);
Parameters
aPossibleElement
Return value

Violates the XPCOM interface guidelines

MoveElement()

boolean MoveElement(
  in long aFrom,
  in long aTo
);
Parameters
aFrom
aTo
Return value

Violates the XPCOM interface guidelines

RemoveElementAt()

boolean RemoveElementAt(
  in unsigned long aIndex
);
Parameters
aIndex
Return value

Violates the XPCOM interface guidelines

RemoveElementsAt()

boolean RemoveElementsAt(
  in unsigned long aIndex,
  in unsigned long aCount
);
Parameters
aIndex
aCount
Return value

Violates the XPCOM interface guidelines

RemoveLastElement()

boolean RemoveLastElement(
  [const] in nsISupports aElement
);
Parameters
aElement
Return value

Violates the XPCOM interface guidelines

ReplaceElementAt()

boolean ReplaceElementAt(
  in nsISupports aElement,
  in unsigned long aIndex
);
Parameters
aElement
aIndex
Return value

Violates the XPCOM interface guidelines

SizeTo()

boolean SizeTo(
  in long aSize
);
Parameters
aSize
Return value