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

Comparing jsr166/src/main/java/util/concurrent/BlockingQueue.java (file contents):
Revision 1.29 by dl, Thu May 27 11:06:11 2004 UTC vs.
Revision 1.30 by dl, Thu Jun 24 23:55:01 2004 UTC

# Line 173 | Line 173 | public interface BlockingQueue<E> extend
173       * <p>Note that you <em>cannot</em> always tell if
174       * an attempt to <tt>add</tt> an element will succeed by
175       * inspecting <tt>remainingCapacity</tt> because it may be the
176 <     * case that a waiting consumer is ready to <tt>take</tt> an
177 <     * element out of an otherwise full queue.
176 >     * case that another thread is about to <tt>put</tt> or <tt>take</tt> an
177 >     * element.
178       * @return the remaining capacity
179       */
180      int remainingCapacity();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines