31 |
|
* <caption>Summary of Deque methods</caption> |
32 |
|
* <tr> |
33 |
|
* <td></td> |
34 |
< |
* <td ALIGN=CENTER COLSPAN = 2> <b>First Element (Head)</b></td> |
35 |
< |
* <td ALIGN=CENTER COLSPAN = 2> <b>Last Element (Tail)</b></td> |
34 |
> |
* <td style="text-align:center" COLSPAN = 2> <b>First Element (Head)</b></td> |
35 |
> |
* <td style="text-align:center" COLSPAN = 2> <b>Last Element (Tail)</b></td> |
36 |
|
* </tr> |
37 |
|
* <tr> |
38 |
|
* <td></td> |
39 |
< |
* <td ALIGN=CENTER><em>Throws exception</em></td> |
40 |
< |
* <td ALIGN=CENTER><em>Special value</em></td> |
41 |
< |
* <td ALIGN=CENTER><em>Throws exception</em></td> |
42 |
< |
* <td ALIGN=CENTER><em>Special value</em></td> |
39 |
> |
* <td style="text-align:center"><em>Throws exception</em></td> |
40 |
> |
* <td style="text-align:center"><em>Special value</em></td> |
41 |
> |
* <td style="text-align:center"><em>Throws exception</em></td> |
42 |
> |
* <td style="text-align:center"><em>Special value</em></td> |
43 |
|
* </tr> |
44 |
|
* <tr> |
45 |
|
* <td><b>Insert</b></td> |
73 |
|
* <table BORDER CELLPADDING=3 CELLSPACING=1> |
74 |
|
* <caption>Comparison of Queue and Deque methods</caption> |
75 |
|
* <tr> |
76 |
< |
* <td ALIGN=CENTER> <b>{@code Queue} Method</b></td> |
77 |
< |
* <td ALIGN=CENTER> <b>Equivalent {@code Deque} Method</b></td> |
76 |
> |
* <td style="text-align:center"> <b>{@code Queue} Method</b></td> |
77 |
> |
* <td style="text-align:center"> <b>Equivalent {@code Deque} Method</b></td> |
78 |
|
* </tr> |
79 |
|
* <tr> |
80 |
|
* <td>{@link #add(Object) add(e)}</td> |
111 |
|
* <table BORDER CELLPADDING=3 CELLSPACING=1> |
112 |
|
* <caption>Comparison of Stack and Deque methods</caption> |
113 |
|
* <tr> |
114 |
< |
* <td ALIGN=CENTER> <b>Stack Method</b></td> |
115 |
< |
* <td ALIGN=CENTER> <b>Equivalent {@code Deque} Method</b></td> |
114 |
> |
* <td style="text-align:center"> <b>Stack Method</b></td> |
115 |
> |
* <td style="text-align:center"> <b>Equivalent {@code Deque} Method</b></td> |
116 |
|
* </tr> |
117 |
|
* <tr> |
118 |
|
* <td>{@link #push(Object) push(e)}</td> |
152 |
|
* methods, but instead inherit the identity-based versions from class |
153 |
|
* {@code Object}. |
154 |
|
* |
155 |
< |
* <p>This interface is a member of the <a |
156 |
< |
* href="{@docRoot}/../technotes/guides/collections/index.html"> Java Collections |
157 |
< |
* Framework</a>. |
155 |
> |
* <p>This interface is a member of the |
156 |
> |
* <a href="{@docRoot}/java/util/package-summary.html#CollectionsFramework"> |
157 |
> |
* Java Collections Framework</a>. |
158 |
|
* |
159 |
|
* @author Doug Lea |
160 |
|
* @author Josh Bloch |