805 |
|
* Append the element if not present. |
806 |
|
* |
807 |
|
* @param e element to be added to this list, if absent |
808 |
< |
* @return <tt>true</tt> if the element was added |
808 |
> |
* @return {@code true} if the element was added |
809 |
|
*/ |
810 |
|
public boolean addIfAbsent(E e) { |
811 |
|
boolean added; |
860 |
|
* Returns an iterator operating over a snapshot copy of the |
861 |
|
* elements of this collection created upon construction of the |
862 |
|
* iterator. The iterator does <em>NOT</em> support the |
863 |
< |
* <tt>remove</tt> method. |
863 |
> |
* {@code remove} method. |
864 |
|
* |
865 |
|
* @return an iterator over the elements in this list in proper sequence |
866 |
|
*/ |