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

Comparing jsr166/src/main/java/util/concurrent/ArrayBlockingQueue.java (file contents):
Revision 1.45 by dl, Wed Jun 2 23:49:06 2004 UTC vs.
Revision 1.46 by dl, Wed Jun 9 23:22:06 2004 UTC

# Line 20 | Line 20 | import java.util.*;
20   * <p>This is a classic &quot;bounded buffer&quot;, in which a
21   * fixed-sized array holds elements inserted by producers and
22   * extracted by consumers.  Once created, the capacity cannot be
23 < * increased.  Attempts to offer an element to a full queue will
24 < * result in the offer operation blocking; attempts to retrieve an
23 > * increased.  Attempts to put an element to a full queue will
24 > * result in the put operation blocking; attempts to retrieve an
25   * element from an empty queue will similarly block.
26   *
27   * <p> This class supports an optional fairness policy for ordering

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines