313 |
|
* If the deque does not contain the element, it is unchanged. |
314 |
|
* More formally, removes the first element <tt>e</tt> such that |
315 |
|
* <tt>o.equals(e)</tt> (if such an element exists). |
316 |
< |
* Returns true if this deque contained the specified element (or |
317 |
< |
* equivalently, if this deque changed as a result of the call). |
316 |
> |
* Returns <tt>true</tt> if this deque contained the specified element |
317 |
> |
* (or equivalently, if this deque changed as a result of the call). |
318 |
|
* |
319 |
|
* @param o element to be removed from this deque, if present |
320 |
|
* @return <tt>true</tt> if the deque contained the specified element |
341 |
|
* If the deque does not contain the element, it is unchanged. |
342 |
|
* More formally, removes the last element <tt>e</tt> such that |
343 |
|
* <tt>o.equals(e)</tt> (if such an element exists). |
344 |
< |
* Returns true if this deque contained the specified element (or |
345 |
< |
* equivalently, if this deque changed as a result of the call). |
344 |
> |
* Returns <tt>true</tt> if this deque contained the specified element |
345 |
> |
* (or equivalently, if this deque changed as a result of the call). |
346 |
|
* |
347 |
|
* @param o element to be removed from this deque, if present |
348 |
|
* @return <tt>true</tt> if the deque contained the specified element |
613 |
|
* If the deque does not contain the element, it is unchanged. |
614 |
|
* More formally, removes the first element <tt>e</tt> such that |
615 |
|
* <tt>o.equals(e)</tt> (if such an element exists). |
616 |
< |
* Returns true if this deque contained the specified element (or |
617 |
< |
* equivalently, if this deque changed as a result of the call). |
616 |
> |
* Returns <tt>true</tt> if this deque contained the specified element |
617 |
> |
* (or equivalently, if this deque changed as a result of the call). |
618 |
|
* |
619 |
|
* <p>This method is equivalent to {@link #removeFirstOccurrence}. |
620 |
|
* |