RFR : 6799426 : (xs) Add constructor PriorityQueue(Comparator) (original) (raw)
Mike Duigou mike.duigou at oracle.com
Mon Jul 22 19:24:34 UTC 2013
- Previous message: hg: jdk8/tl/jdk: 8020971: Fix doclint issues in java.nio.*
- Next message: RFR : 6799426 : (xs) Add constructor PriorityQueue(Comparator)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: hg: jdk8/tl/jdk: 8020971: Fix doclint issues in java.nio.*
- Next message: RFR : 6799426 : (xs) Add constructor PriorityQueue(Comparator)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]