Lines Matching refs:element
48 * elements. Indexes are zero-based, such that the last element in the
82 * Retrieve a specific element of the array, and QueryInterface it
86 * @param index position of element
103 * Get the position of a specific element. Note that since null is
104 * a valid input, exceptions are used to indicate that an element
107 * @param startIndex The initial element to search in the array
110 * @param element The element you are looking for
112 * element in the array.
113 * @throws NS_ERROR_NOT_FOUND if the element was not in the array.
116 in nsISupports element);
153 * Append an element at the end of the array.
155 * @param element The element to append.
156 * @param element Whether or not to store the element using a weak
159 * but the element does not support
162 void appendElement(in nsISupports element, in boolean weak);
167 * Remove an element at a specific position.
168 * To remove a specific element, use indexOf() to find the index
179 * Insert an element at the given position, and move all elements
182 * @param element The element to insert
191 * but the element does not support
194 void insertElementAt(in nsISupports element, in unsigned long index, in boolean weak);