--- jsr166/src/jsr166y/LinkedTransferQueue.java 2009/08/01 20:44:05 1.41 +++ jsr166/src/jsr166y/LinkedTransferQueue.java 2009/08/01 20:48:44 1.42 @@ -848,6 +848,17 @@ public class LinkedTransferQueue exte } } + /** + * Removes a single instance of the specified element from this queue, + * if it is present. More formally, removes an element {@code e} such + * that {@code o.equals(e)}, if this queue contains one or more such + * elements. + * Returns {@code true} if this queue contained the specified element + * (or equivalently, if this queue changed as a result of the call). + * + * @param o element to be removed from this queue, if present + * @return {@code true} if this queue changed as a result of the call + */ public boolean remove(Object o) { if (o == null) return false;