RFR : 6799426 : (xs) Add constructor PriorityQueue(Comparator)

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 24 00:26:43 UTC 2013


On 22/07/2013 12:24, Mike Duigou wrote:
> Hello all;
>
> A simple rewiew for the addition of another constructor to PriorityQueue. Currently if you wish to specify a Comparator you must also supply a size. This addition allows use of the default size which is good for two reason; you don't have to specify a fixed value and the implementation can change it's default as appropriate.
>
> http://cr.openjdk.java.net/~mduigou/JDK-6799426/0/webrev/
>
> Mike
Is there a test that could be updated to exercise the new constructor?

-Alan.



More information about the core-libs-dev mailing list