1 |
|
/* |
2 |
|
* %W% %E% |
3 |
|
* |
4 |
< |
* Copyright 2004 Sun Microsystems, Inc. All rights reserved. |
4 |
> |
* Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
5 |
|
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. |
6 |
|
*/ |
7 |
|
|
442 |
|
* @throws ClassCastException if <tt>toElement</tt> is not compatible |
443 |
|
* with this set's comparator (or, if the set has no comparator, |
444 |
|
* if <tt>toElement</tt> does not implement <tt>Comparable</tt>). |
445 |
< |
* @throws IllegalArgumentException if this set is itself a subSet, |
445 |
> |
* @throws IllegalArgumentException if this set is itself a subset, |
446 |
|
* and <tt>toElement</tt> is not within the |
447 |
|
* specified range of the subset. |
448 |
|
* @throws NullPointerException if <tt>toElement</tt> is <tt>null</tt> and |