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.24 by dl, Mon Sep 15 12:02:46 2003 UTC vs.
Revision 1.25 by dl, Sat Sep 20 00:31:08 2003 UTC

# Line 10 | Line 10 | import java.util.concurrent.locks.*;
10   import java.util.*;
11  
12   /**
13 < * An unbounded {@linkplain BlockingQueue blocking queue} based on a
14 < * {@link PriorityQueue}, obeying its ordering rules and
15 < * implementation characteristics.  While this queue is logically
13 > * An unbounded {@linkplain BlockingQueue blocking queue} that uses
14 > * the same ordering rules as class {@link PriorityQueue} and supplies
15 > * blocking retrieval operations.  While this queue is logically
16   * unbounded, attempted additions may fail due to resource exhaustion
17 < * (causing <tt>OutOfMemoryError</tt>). A priority queue does not
18 < * permit <tt>null</tt> elements.  A priority queue relying on natural
17 > * (causing <tt>OutOfMemoryError</tt>). This class does not permit
18 > * <tt>null</tt> elements.  A priority queue relying on natural
19   * ordering also does not permit insertion of non-comparable objects
20   * (doing so results in <tt>ClassCastException</tt>).
21   *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines