29 |
|
* |
30 |
|
* <p> |
31 |
|
* <table BORDER CELLPADDING=3 CELLSPACING=1> |
32 |
+ |
* <caption>Summary of Deque methods</caption> |
33 |
|
* <tr> |
34 |
|
* <td></td> |
35 |
|
* <td ALIGN=CENTER COLSPAN = 2> <b>First Element (Head)</b></td> |
73 |
|
* |
74 |
|
* <p> |
75 |
|
* <table BORDER CELLPADDING=3 CELLSPACING=1> |
76 |
+ |
* <caption>Comparison of Queue and Deque methods</caption> |
77 |
|
* <tr> |
78 |
|
* <td ALIGN=CENTER> <b>{@code Queue} Method</b></td> |
79 |
|
* <td ALIGN=CENTER> <b>Equivalent {@code Deque} Method</b></td> |
112 |
|
* |
113 |
|
* <p> |
114 |
|
* <table BORDER CELLPADDING=3 CELLSPACING=1> |
115 |
+ |
* <caption>Comparison of Stack and Deque methods</caption> |
116 |
|
* <tr> |
117 |
|
* <td ALIGN=CENTER> <b>Stack Method</b></td> |
118 |
|
* <td ALIGN=CENTER> <b>Equivalent {@code Deque} Method</b></td> |
495 |
|
* Returns {@code true} if this deque contained the specified element |
496 |
|
* (or equivalently, if this deque changed as a result of the call). |
497 |
|
* |
498 |
< |
* <p>This method is equivalent to {@link #removeFirstOccurrence}. |
498 |
> |
* <p>This method is equivalent to {@link #removeFirstOccurrence(Object)}. |
499 |
|
* |
500 |
|
* @param o element to be removed from this deque, if present |
501 |
|
* @return {@code true} if an element was removed as a result of this call |