18 |
|
* implementations; in most implementations, insert operations cannot |
19 |
|
* fail. |
20 |
|
* |
21 |
< |
* <p><table BORDER CELLPADDING=3 CELLSPACING=1> |
21 |
> |
* <p> |
22 |
> |
* <table BORDER CELLPADDING=3 CELLSPACING=1> |
23 |
|
* <tr> |
24 |
|
* <td></td> |
25 |
|
* <td ALIGN=CENTER><em>Throws exception</em></td> |
121 |
|
* preferable to method {@link Collection#add}, which can fail to |
122 |
|
* insert an element only by throwing an exception. |
123 |
|
* |
124 |
< |
* @param o the element to insert. |
124 |
> |
* @param e the element to insert. |
125 |
|
* @return <tt>true</tt> if it was possible to add the element to |
126 |
|
* this queue, else <tt>false</tt> |
127 |
|
*/ |
128 |
< |
boolean offer(E o); |
128 |
> |
boolean offer(E e); |
129 |
|
|
130 |
|
/** |
131 |
|
* Retrieves and removes the head of this queue, or <tt>null</tt> |