# | Line 1001 | Line 1001 | public class CopyOnWriteArrayList<E> | |
---|---|---|
1001 | * be the same if they have the same length and corresponding | |
1002 | * elements at the same position in the sequence are <em>equal</em>. | |
1003 | * Two elements {@code e1} and {@code e2} are considered | |
1004 | < | * <em>equal</em> if {@code (e1==null ? e2==null : e1.equals(e2))}. |
1004 | > | * <em>equal</em> if {@code Objects.equals(e1, e2)}. |
1005 | * | |
1006 | * @param o the object to be compared for equality with this list | |
1007 | * @return {@code true} if the specified object is equal to this list |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |