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 |