updated 8001667: Comparator combinators and extension methods (original) (raw)

Henry Jen henry.jen at oracle.com
Wed Feb 6 03:51:38 UTC 2013


Hi,

This is an update on previous reviewed version, there are two new method introduced for Comparators to convert a Comparator into a BinaryOperator and corresponding test cases.

As there is one new class, java.util.Comparators for 8001667, so we need to have makefile change, thus involve build-infra.

Comparators.java

public static BinaryOperator lesserOf(Comparator<? super T> comparator); public static BinaryOperator greaterOf(Comparator<? super T> comparator);

[1] http://cr.openjdk.java.net/~henryjen/ccc/8001667.3/webrev

Cheers, Henry



More information about the core-libs-dev mailing list