105 |
* @throws ClassCastException if o cannot be added to this list due to its |
* @throws ClassCastException if o cannot be added to this list due to its |
106 |
* type |
* type |
107 |
* @throws IllegalArgumentException if o cannot be added to this list for |
* @throws IllegalArgumentException if o cannot be added to this list for |
108 |
* some other reason |
* some other reason. |
109 |
|
* @throws NullPointerException if o is null and the list does not permit |
110 |
|
* the addition of null values. |
111 |
*/ |
*/ |
112 |
public void add(int index, E o) |
public void add(int index, E o) |
113 |
{ |
{ |
139 |
* @throws IllegalArgumentException if some element of c cannot be added |
* @throws IllegalArgumentException if some element of c cannot be added |
140 |
* to this list for some other reason |
* to this list for some other reason |
141 |
* @throws NullPointerException if the specified collection is null |
* @throws NullPointerException if the specified collection is null |
142 |
|
* @throws NullPointerException if an object, o, in c is null and the list |
143 |
|
* does not permit the addition of null values. |
144 |
* @see #add(int, Object) |
* @see #add(int, Object) |
145 |
*/ |
*/ |
146 |
public boolean addAll(int index, Collection<? extends E> c) |
public boolean addAll(int index, Collection<? extends E> c) |
218 |
* type |
* type |
219 |
* @throws IllegalArgumentException if o cannot be added to this list for |
* @throws IllegalArgumentException if o cannot be added to this list for |
220 |
* some other reason |
* some other reason |
221 |
|
* @throws NullPointerException if o is null and the list does not allow |
222 |
|
* a value to be set to null. |
223 |
*/ |
*/ |
224 |
public E set(int index, E o) |
public E set(int index, E o) |
225 |
{ |
{ |