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

Chris Hegarty chris.hegarty at oracle.com
Mon Jul 22 21:00:12 UTC 2013

On 22/07/2013 20: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/

Looks fine to me Mike.


> Mike

More information about the core-libs-dev mailing list