542 |
|
} |
543 |
|
|
544 |
|
/** |
545 |
< |
* @throws NullPointerException {@inheritDoc} |
546 |
< |
* @throwsIllegalArgumentException {@inheritDoc} |
545 |
> |
* @throws NullPointerException {@inheritDoc} |
546 |
> |
* @throws IllegalArgumentException {@inheritDoc} |
547 |
|
*/ |
548 |
|
public int drainTo(Collection<? super E> c) { |
549 |
|
if (c == null) |
560 |
|
} |
561 |
|
|
562 |
|
/** |
563 |
< |
* @throws NullPointerException {@inheritDoc} |
564 |
< |
* @throwsIllegalArgumentException {@inheritDoc} |
563 |
> |
* @throws NullPointerException {@inheritDoc} |
564 |
> |
* @throws IllegalArgumentException {@inheritDoc} |
565 |
|
*/ |
566 |
|
public int drainTo(Collection<? super E> c, int maxElements) { |
567 |
|
if (c == null) |