Request for Review: CR#8001667, second attempt (original) (raw)

Henry Jen henry.jen at oracle.com
Thu Dec 6 06:57:23 UTC 2012


Hi,

This update reflect changes based on feedbacks for last version, the changes are

people.sort(Comparators.comparing(People::getFirstName).thenComparing(People.getLastName))

vs previously,

people.sort(Comparators.comparing(Person::getName)) Comparator byLastFirst = Comparators.comparing(Person::getLastName) .compose(Comparators.comparing(Person::getFirstName))

Please review and comment on the webrev[1] and specdiff[2].

[1] http://cr.openjdk.java.net/~henryjen/ccc/8001667.1/webrev [2] http://cr.openjdk.java.net/~henryjen/ccc/8001667.1/specdiff/overview-summary.html

Cheers, Henry



More information about the core-libs-dev mailing list