# | Line 56 | Line 56 | package java.util; | |
---|---|---|
56 | * the priority queue in any particular order. If you need ordered | |
57 | * traversal, consider using {@code Arrays.sort(pq.toArray())}. | |
58 | * | |
59 | < | * <p> <strong>Note that this implementation is not synchronized.</strong> |
59 | > | * <p><strong>Note that this implementation is not synchronized.</strong> |
60 | * Multiple threads should not access a {@code PriorityQueue} | |
61 | * instance concurrently if any of the threads modifies the queue. | |
62 | * Instead, use the thread-safe {@link |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |