ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166y/LinkedTransferQueue.java
(Generate patch)

Comparing jsr166/src/jsr166y/LinkedTransferQueue.java (file contents):
Revision 1.41 by jsr166, Sat Aug 1 20:44:05 2009 UTC vs.
Revision 1.42 by jsr166, Sat Aug 1 20:48:44 2009 UTC

# Line 848 | Line 848 | public class LinkedTransferQueue<E> exte
848          }
849      }
850  
851 +    /**
852 +     * Removes a single instance of the specified element from this queue,
853 +     * if it is present.  More formally, removes an element {@code e} such
854 +     * that {@code o.equals(e)}, if this queue contains one or more such
855 +     * elements.
856 +     * Returns {@code true} if this queue contained the specified element
857 +     * (or equivalently, if this queue changed as a result of the call).
858 +     *
859 +     * @param o element to be removed from this queue, if present
860 +     * @return {@code true} if this queue changed as a result of the call
861 +     */
862      public boolean remove(Object o) {
863          if (o == null)
864              return false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines