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

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArraySet.java (file contents):
Revision 1.30 by dl, Sun Sep 25 13:10:30 2005 UTC vs.
Revision 1.31 by dl, Sun Sep 25 14:42:59 2005 UTC

# Line 309 | Line 309 | public class CopyOnWriteArraySet<E> exte
309  
310      /**
311       * Compares the specified object with this set for equality.
312 <     * Returns <tt>true</tt> if the specified object is also a set,
313 <     * and every element of the specified set, as revealed by a single
314 <     * traversal of its <tt>iterator()</tt>, is also contained in this
315 <     * set at the point of call of this method, and no other elements
316 <     * not present in the given set are contained in this set.
312 >     * Returns <tt>true</tt> if the specified object is the same
313 >     * object as this object, or if it is also a set, and every
314 >     * element of the specified set, as revealed by a single traversal
315 >     * of its <tt>iterator()</tt>, is also contained in this set at
316 >     * the point of call of this method, and no other elements not
317 >     * present in the given set are contained in this set.
318       *
319       * @param o object to be compared for equality with this set
320       * @return <tt>true</tt> if the specified object is equal to this set

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines