mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8258217: PriorityBlockingQueue constructor spec and behavior mismatch
Reviewed-by: dl
This commit is contained in:
parent
65ca5c6656
commit
11d5b04791
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ public class PriorityBlockingQueue<E> extends AbstractQueue<E>
|
|||
/**
|
||||
* Creates a {@code PriorityBlockingQueue} containing the elements
|
||||
* in the specified collection. If the specified collection is a
|
||||
* {@link SortedSet} or a {@link PriorityQueue}, this
|
||||
* {@link SortedSet} or a {@link PriorityBlockingQueue}, this
|
||||
* priority queue will be ordered according to the same ordering.
|
||||
* Otherwise, this priority queue will be ordered according to the
|
||||
* {@linkplain Comparable natural ordering} of its elements.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue