updated 8001667: Comparator combinators and extension methods (original) (raw)
Henry Jen henry.jen at oracle.com
Wed Feb 6 03:51:38 UTC 2013
- Previous message: JDK 8 code review request for 8005832: Remove java.lang.annotation.{ContainedBy, ContainerFor} annotation types
- Next message: CFR - updated 8001667: Comparator combinators and extension methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: JDK 8 code review request for 8005832: Remove java.lang.annotation.{ContainedBy, ContainerFor} annotation types
- Next message: CFR - updated 8001667: Comparator combinators and extension methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]