275 |
|
* @return <tt>true</tt> if this queue changed as a result of the call |
276 |
|
* @throws ClassCastException if the class of the specified element |
277 |
|
* is incompatible with this deque |
278 |
< |
* (<a href="Collection.html#optional-restrictions">optional</a>) |
278 |
> |
* (<a href="../Collection.html#optional-restrictions">optional</a>) |
279 |
|
* @throws NullPointerException if the specified element is null |
280 |
< |
* (<a href="Collection.html#optional-restrictions">optional</a>) |
280 |
> |
* (<a href="../Collection.html#optional-restrictions">optional</a>) |
281 |
|
*/ |
282 |
|
boolean remove(Object o); |
283 |
|
|
290 |
|
* @return <tt>true</tt> if this queue contains the specified element |
291 |
|
* @throws ClassCastException if the class of the specified element |
292 |
|
* is incompatible with this deque |
293 |
< |
* (<a href="Collection.html#optional-restrictions">optional</a>) |
293 |
> |
* (<a href="../Collection.html#optional-restrictions">optional</a>) |
294 |
|
* @throws NullPointerException if the specified element is null |
295 |
< |
* (<a href="Collection.html#optional-restrictions">optional</a>) |
295 |
> |
* (<a href="../Collection.html#optional-restrictions">optional</a>) |
296 |
|
*/ |
297 |
|
public boolean contains(Object o); |
298 |
|
|