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

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

# Line 873 | Line 873 | public class CopyOnWriteArrayList<E>
873  
874      /**
875       * Compares the specified object with this list for equality.
876 <     * Returns true if and only if the specified object is also a
877 <     * {@link List}, and every element of the specified list, as
878 <     * revealed by a single traversal of its <tt>iterator()</tt>, is
879 <     * also present in the same position of this list at the point of
880 <     * call of this method, and no other elements not present in the
881 <     * given list are contained in this list.
876 >     * Returns true if the specified object is the same object as this
877 >     * object, or if it is also a {@link List}, and every element of
878 >     * the specified list, as revealed by a single traversal of its
879 >     * <tt>iterator()</tt>, is also present in the same position of
880 >     * this list at the point of call of this method, and no other
881 >     * elements not present in the given list are contained in this
882 >     * list.
883       *
884       * @param o the object to be compared for equality with this list
885       * @return <tt>true</tt> if the specified object is equal to this list

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines