158 |
|
/** |
159 |
|
* Inserts the specified element at the tail of this queue. |
160 |
|
* |
161 |
< |
* @return <tt>true</tt> (as per the spec for {@link Collection#add}) |
161 |
> |
* @return <tt>true</tt> (as specified by {@link Collection#add}) |
162 |
|
* @throws NullPointerException if the specified element is null |
163 |
|
*/ |
164 |
|
public boolean add(E e) { |
168 |
|
/** |
169 |
|
* Inserts the specified element at the tail of this queue. |
170 |
|
* |
171 |
< |
* @return <tt>true</tt> (as per the spec for {@link Queue#offer}) |
171 |
> |
* @return <tt>true</tt> (as specified by {@link Queue#offer}) |
172 |
|
* @throws NullPointerException if the specified element is null |
173 |
|
*/ |
174 |
|
public boolean offer(E e) { |