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.22 by dl, Thu Apr 20 20:34:37 2006 UTC vs.
Revision 1.23 by jsr166, Fri Apr 21 03:24:07 2006 UTC

# Line 203 | Line 203 | public class TreeSet<E> extends Abstract
203       * Returns {@code true} if this set contains the specified element.
204       * More formally, returns {@code true} if and only if this set
205       * contains an element {@code e} such that
206 <     * {@code (o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))}.
206 >     * <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>.
207       *
208       * @param o object to be checked for containment in this set
209       * @return {@code true} if this set contains the specified element
# Line 221 | Line 221 | public class TreeSet<E> extends Abstract
221       * Adds the specified element to this set if it is not already present.
222       * More formally, adds the specified element {@code e} to this set if
223       * the set contains no element {@code e2} such that
224 <     * {@code (e==null&nbsp;?&nbsp;e2==null&nbsp;:&nbsp;e.equals(e2))}.
224 >     * <tt>(e==null&nbsp;?&nbsp;e2==null&nbsp;:&nbsp;e.equals(e2))</tt>.
225       * If this set already contains the element, the call leaves the set
226       * unchanged and returns {@code false}.
227       *
# Line 241 | Line 241 | public class TreeSet<E> extends Abstract
241      /**
242       * Removes the specified element from this set if it is present.
243       * More formally, removes an element {@code e} such that
244 <     * {@code (o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))},
244 >     * <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>,
245       * if this set contains such an element.  Returns {@code true} if
246       * this set contained the element (or equivalently, if this set
247       * changed as a result of the call).  (This set will not contain the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines