ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/TreeSet.java
(Generate patch)

Comparing jsr166/src/main/java/util/TreeSet.java (file contents):
Revision 1.4 by dl, Tue Mar 29 15:00:48 2005 UTC vs.
Revision 1.5 by dl, Wed Mar 30 23:42:45 2005 UTC

# Line 442 | Line 442 | public class TreeSet<E>
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines