# | Line 37 | Line 37 | |
---|---|---|
37 | * Multiple threads should not access a <tt>PriorityQueue</tt> | |
38 | * instance concurrently if any of the threads modifies the list | |
39 | * structurally. Instead, use the thread-safe {@link | |
40 | < | * java.util.concurrent.BlockingPriorityQueue} class. |
40 | > | * java.util.concurrent.PriorityBlockingQueue} class. |
41 | * | |
42 | * | |
43 | * <p>Implementation note: this implementation provides O(log(n)) time |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |