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

Comparing jsr166/src/main/java/util/concurrent/PriorityBlockingQueue.java (file contents):
Revision 1.19 by tim, Fri Aug 8 20:05:07 2003 UTC vs.
Revision 1.20 by dl, Sun Aug 24 23:32:25 2003 UTC

# Line 16 | Line 16 | import java.util.*;
16   * While this queue is logically unbounded,
17   * attempted additions may fail due to resource exhaustion (causing
18   * <tt>OutOfMemoryError</tt>).
19 + *
20 + * <p>The Iterator provided in method {@link #iterator()} is
21 + * <em>not</em> guaranteed to traverse the elements of the
22 + * PriorityBlockingQueue in any particular order. If you need ordered
23 + * traversal, consider using <tt>Arrays.sort(pq.toArray())</tt>.
24 + *
25   * @since 1.5
26   * @author Doug Lea
27   */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines