32 |
|
* grows automatically. The details of the growth policy are not |
33 |
|
* specified. |
34 |
|
* |
35 |
< |
* <p>This class implements all of the <em>optional</em> methods of |
36 |
< |
* the {@link Collection} and {@link Iterator} interfaces. The |
35 |
> |
* <p>This class and its iterator implement all of the |
36 |
> |
* <em>optional</em> methods of the {@link Collection} and {@link |
37 |
> |
* Iterator} interfaces. |
38 |
> |
* The |
39 |
|
* Iterator provided in method {@link #iterator()} is <em>not</em> |
40 |
|
* guaranteed to traverse the elements of the PriorityQueue in any |
41 |
|
* particular order. If you need ordered traversal, consider using |
329 |
|
|
330 |
|
/** |
331 |
|
* Removes a single instance of the specified element from this |
332 |
< |
* collection, if it is present. |
332 |
> |
* queue, if it is present. |
333 |
|
*/ |
334 |
|
public boolean remove(Object o) { |
335 |
|
if (o == null) |