625 |
|
* @return {@code true} if this list changed as a result of the call |
626 |
|
* @throws ClassCastException if the class of an element of this list |
627 |
|
* is incompatible with the specified collection |
628 |
< |
* (<a href="../Collection.html#optional-restrictions">optional</a>) |
628 |
> |
* (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>) |
629 |
|
* @throws NullPointerException if this list contains a null element and the |
630 |
|
* specified collection does not permit null elements |
631 |
< |
* (<a href="../Collection.html#optional-restrictions">optional</a>), |
631 |
> |
* (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>), |
632 |
|
* or if the specified collection is null |
633 |
|
* @see #remove(Object) |
634 |
|
*/ |
664 |
|
* @return {@code true} if this list changed as a result of the call |
665 |
|
* @throws ClassCastException if the class of an element of this list |
666 |
|
* is incompatible with the specified collection |
667 |
< |
* (<a href="../Collection.html#optional-restrictions">optional</a>) |
667 |
> |
* (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>) |
668 |
|
* @throws NullPointerException if this list contains a null element and the |
669 |
|
* specified collection does not permit null elements |
670 |
< |
* (<a href="../Collection.html#optional-restrictions">optional</a>), |
670 |
> |
* (<a href="{@docRoot}/../api/java/util/Collection.html#optional-restrictions">optional</a>), |
671 |
|
* or if the specified collection is null |
672 |
|
* @see #remove(Object) |
673 |
|
*/ |