32 |
|
**/ |
33 |
|
public class LinkedBlockingQueue<E> extends AbstractQueue<E> |
34 |
|
implements BlockingQueue<E>, java.io.Serializable { |
35 |
+ |
private static final long serialVersionUID = -6903933977591709194L; |
36 |
|
|
37 |
|
/* |
38 |
|
* A variant of the "two lock queue" algorithm. The putLock gates |
442 |
|
* specified element (or equivalently, if the queue changed as a |
443 |
|
* result of the call). |
444 |
|
* |
444 |
– |
* <p>This implementation iterates over the queue looking for the |
445 |
– |
* specified element. If it finds the element, it removes the element |
446 |
– |
* from the queue using the iterator's remove method.<p> |
447 |
– |
* |
445 |
|
*/ |
446 |
|
public boolean remove(Object o) { |
447 |
|
if (o == null) return false; |