# | Line 197 | Line 197 | public class PriorityBlockingQueue<E> ex | |
---|---|---|
197 | /** | |
198 | * Creates a {@code PriorityBlockingQueue} containing the elements | |
199 | * in the specified collection. If the specified collection is a | |
200 | < | * {@link SortedSet} or a {@link PriorityQueue}, this |
200 | > | * {@link SortedSet} or a {@link PriorityBlockingQueue}, this |
201 | * priority queue will be ordered according to the same ordering. | |
202 | * Otherwise, this priority queue will be ordered according to the | |
203 | * {@linkplain Comparable natural ordering} of its elements. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |