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

Mike Duigou mike.duigou at oracle.com
Mon Jul 22 19:24:34 UTC 2013


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


More information about the core-libs-dev mailing list