# | Line 360 | Line 360 | public class CopyOnWriteArrayList<E> | |
---|---|---|
360 | * Appends the specified element to the end of this list. | |
361 | * | |
362 | * @param e element to be appended to this list | |
363 | < | * @return <tt>true</tt> (as per the spec for {@link Collection#add}) |
363 | > | * @return <tt>true</tt> (as specified by {@link Collection#add}) |
364 | */ | |
365 | public boolean add(E e) { | |
366 | final ReentrantLock lock = this.lock; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |