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.23 by jsr166, Fri Apr 21 03:24:07 2006 UTC vs.
Revision 1.24 by jsr166, Tue May 9 21:55:10 2006 UTC

# Line 56 | Line 56 | package java.util;
56   * should be used only to detect bugs.</i>
57   *
58   * <p>This class is a member of the
59 < * <a href="{@docRoot}/../guide/collections/index.html">
59 > * <a href="{@docRoot}/../technotes/guides/collections/index.html">
60   * Java Collections Framework</a>.
61   *
62   * @param <E> the type of elements maintained by this set
# Line 100 | Line 100 | public class TreeSet<E> extends Abstract
100       * {@code e2} in the set.  If the user attempts to add an element
101       * to the set that violates this constraint (for example, the user
102       * attempts to add a string element to a set whose elements are
103 <     * integers), the {@code add(Object)} call will throw a
103 >     * integers), the {@code add} call will throw a
104       * {@code ClassCastException}.
105       */
106      public TreeSet() {
# Line 114 | Line 114 | public class TreeSet<E> extends Abstract
114       * e2)} must not throw a {@code ClassCastException} for any elements
115       * {@code e1} and {@code e2} in the set.  If the user attempts to add
116       * an element to the set that violates this constraint, the
117 <     * {@code add(Object)} call will throw a {@code ClassCastException}.
117 >     * {@code add} call will throw a {@code ClassCastException}.
118       *
119       * @param comparator the comparator that will be used to order this set.
120       *        If {@code null}, the {@linkplain Comparable natural

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines