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.1 by dl, Tue Dec 28 12:14:07 2004 UTC vs.
Revision 1.2 by dl, Sun Mar 6 12:06:17 2005 UTC

# Line 199 | Line 199 | public class TreeSet<E>
199       *
200       * @throws ClassCastException if the specified object cannot be compared
201       *            with the elements currently in the set.
202 <     * @throws NullPointerException o is <tt>null</tt> and this map
202 >     * @throws NullPointerException if o is <tt>null</tt> and this map
203       * uses natural ordering and is non-empty, or its comparator does
204       * not tolerate <tt>null</tt> keys.
205       */
# Line 216 | Line 216 | public class TreeSet<E>
216       *
217       * @throws ClassCastException if the specified object cannot be compared
218       *            with the elements currently in the set.
219 <     * @throws NullPointerException o is <tt>null</tt> and this map
219 >     * @throws NullPointerException if o is <tt>null</tt> and this map
220       * uses natural ordering and is non-empty, or its comparator does
221       * not tolerate <tt>null</tt> keys.
222       */
# Line 232 | Line 232 | public class TreeSet<E>
232       *
233       * @throws ClassCastException if the specified object cannot be compared
234       *            with the elements currently in the set.
235 <     * @throws NullPointerException o is <tt>null</tt> and this map
235 >     * @throws NullPointerException if o is <tt>null</tt> and this map
236       * uses natural ordering and is non-empty, or its comparator does
237       * not tolerate <tt>null</tt> keys.
238       */
# Line 448 | Line 448 | public class TreeSet<E>
448       * <tt>null</tt> if there is no such element.
449       * @throws ClassCastException if o cannot be compared with the elements
450       *            currently in the set.
451 <     * @throws NullPointerException o is <tt>null</tt> and this map
451 >     * @throws NullPointerException if o is <tt>null</tt> and this map
452       * uses natural ordering and is non-empty, or its comparator does
453       * not tolerate <tt>null</tt> keys.
454       */
# Line 465 | Line 465 | public class TreeSet<E>
465       * <tt>null</tt> if there is no such element.
466       * @throws ClassCastException if o cannot be compared with the elements
467       *            currently in the set.
468 <     * @throws NullPointerException o is <tt>null</tt> and this map
468 >     * @throws NullPointerException if o is <tt>null</tt> and this map
469       * uses natural ordering and is non-empty, or its comparator does
470       * not tolerate <tt>null</tt> keys.
471       */
# Line 482 | Line 482 | public class TreeSet<E>
482       * element, or <tt>null</tt> if there is no such element.
483       * @throws ClassCastException if o cannot be compared with the elements
484       *            currently in the set.
485 <     * @throws NullPointerException o is <tt>null</tt> and this map
485 >     * @throws NullPointerException if o is <tt>null</tt> and this map
486       * uses natural ordering and is non-empty, or its comparator does
487       * not tolerate <tt>null</tt> keys.
488       */
# Line 499 | Line 499 | public class TreeSet<E>
499       * <tt>null</tt> if there is no such element.
500       * @throws ClassCastException if o cannot be compared with the elements
501       *            currently in the set.
502 <     * @throws NullPointerException o is <tt>null</tt> and this map
502 >     * @throws NullPointerException if o is <tt>null</tt> and this map
503       * uses natural ordering and is non-empty, or its comparator does
504       * not tolerate <tt>null</tt> keys.
505       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines