ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java (file contents):
Revision 1.17 by tim, Fri Aug 8 20:05:07 2003 UTC vs.
Revision 1.18 by dl, Mon Aug 25 19:27:58 2003 UTC

# Line 32 | Line 32 | import java.util.*;
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
# Line 441 | Line 442 | public class LinkedBlockingQueue<E> exte
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines