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 |