# | Line 133 | Line 133 | public class CopyOnWriteArrayList<E> | |
---|---|---|
133 | } | |
134 | ||
135 | /** | |
136 | < | * Test for equality, coping with nulls. |
136 | > | * Tests for equality, coping with nulls. |
137 | */ | |
138 | private static boolean eq(Object o1, Object o2) { | |
139 | return (o1 == null ? o2 == null : o1.equals(o2)); | |
# | Line 556 | Line 556 | public class CopyOnWriteArrayList<E> | |
556 | } | |
557 | ||
558 | /** | |
559 | < | * Append the element if not present. |
559 | > | * Appends the element, if not present. |
560 | * | |
561 | * @param e element to be added to this list, if absent | |
562 | * @return <tt>true</tt> if the element was added |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |