RFR: 8015318: Extend Collector with 'finish' operation

2013-07-05 Thread Henry Jen
Hi, Please review the webrev at http://cr.openjdk.java.net/~henryjen/ccc/8015318.0/webrev/ This webrev refactor java.util.Collector interface to allow an intermediate type used for accumulation and then produce final result type with a 'finished' function. Collectors are updated to reflect the

Re: RFR: 8015318: Extend Collector with 'finish' operation

2013-07-05 Thread Henry Jen
Forgot to mention this patch depends on fix of bug 8012238[1], to enable compile without fix, attached patch will help. [1] http://bugs.sun.com/view_bug.do?bug_id=8012238 Cheers, Henry On 07/05/2013 05:11 PM, Henry Jen wrote: Hi, Please review the webrev at