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

Comparing jsr166/src/main/java/util/PriorityQueue.java (file contents):
Revision 1.87 by dl, Fri Feb 1 01:02:25 2013 UTC vs.
Revision 1.88 by dl, Fri Feb 1 16:23:04 2013 UTC

# Line 64 | Line 64 | import java.util.function.Consumer;
64   * Multiple threads should not access a {@code PriorityQueue}
65   * instance concurrently if any of the threads modifies the queue.
66   * Instead, use the thread-safe {@link
67 < * java.util.concurrent.PriorityConsumeringQueue} class.
67 > * java.util.concurrent.PriorityBlockingQueue} class.
68   *
69   * <p>Implementation note: this implementation provides
70   * O(log(n)) time for the enqueing and dequeing methods

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines