equal
deleted
inserted
replaced
176 } |
176 } |
177 |
177 |
178 /** |
178 /** |
179 * Inserts the attribute specified as an element at the position specified. |
179 * Inserts the attribute specified as an element at the position specified. |
180 * Elements with an index greater than or equal to the current position are |
180 * Elements with an index greater than or equal to the current position are |
181 * shifted up. If the index is out of range (index < 0 || index > |
181 * shifted up. If the index is out of range {@literal (index < 0 || index > |
182 * size()) a RuntimeOperationsException should be raised, wrapping the |
182 * size())} a RuntimeOperationsException should be raised, wrapping the |
183 * java.lang.IndexOutOfBoundsException thrown. |
183 * java.lang.IndexOutOfBoundsException thrown. |
184 * |
184 * |
185 * @param object The <CODE>Attribute</CODE> object to be inserted. |
185 * @param object The <CODE>Attribute</CODE> object to be inserted. |
186 * @param index The position in the list where the new {@code Attribute} |
186 * @param index The position in the list where the new {@code Attribute} |
187 * object is to be inserted. |
187 * object is to be inserted. |
197 } |
197 } |
198 |
198 |
199 /** |
199 /** |
200 * Sets the element at the position specified to be the attribute specified. |
200 * Sets the element at the position specified to be the attribute specified. |
201 * The previous element at that position is discarded. If the index is |
201 * The previous element at that position is discarded. If the index is |
202 * out of range (index < 0 || index > size() a RuntimeOperationsException |
202 * out of range {@literal (index < 0 || index > size())} a RuntimeOperationsException |
203 * should be raised, wrapping the java.lang.IndexOutOfBoundsException thrown. |
203 * should be raised, wrapping the java.lang.IndexOutOfBoundsException thrown. |
204 * |
204 * |
205 * @param object The value to which the attribute element should be set. |
205 * @param object The value to which the attribute element should be set. |
206 * @param index The position specified. |
206 * @param index The position specified. |
207 */ |
207 */ |
232 |
232 |
233 /** |
233 /** |
234 * Inserts all of the elements in the <CODE>AttributeList</CODE> specified |
234 * Inserts all of the elements in the <CODE>AttributeList</CODE> specified |
235 * into this list, starting at the specified position, in the order in which |
235 * into this list, starting at the specified position, in the order in which |
236 * they are returned by the Iterator of the {@code AttributeList} specified. |
236 * they are returned by the Iterator of the {@code AttributeList} specified. |
237 * If the index is out of range (index < 0 || index > size() a |
237 * If the index is out of range {@literal (index < 0 || index > size())} a |
238 * RuntimeOperationsException should be raised, wrapping the |
238 * RuntimeOperationsException should be raised, wrapping the |
239 * java.lang.IndexOutOfBoundsException thrown. |
239 * java.lang.IndexOutOfBoundsException thrown. |
240 * |
240 * |
241 * @param list Elements to be inserted into the list. |
241 * @param list Elements to be inserted into the list. |
242 * @param index Position at which to insert the first element from the |
242 * @param index Position at which to insert the first element from the |