lambda binary snapshots
Arul Dhesiaseelan
aruld at acm.org
Sat Nov 12 16:52:36 PST 2011
JDK 8 Lambda build is cool. Thanks for making this available!
I was playing with defender methods, wondering what makes this scenario
work:
In Comparator, there is a new default method compose() which has single
parameter:
Comparator<T> compose(Comparator<? super T> other) default
Comparators.compose;
The default implementation in Comparators has two parameters:
public static<T> Comparator<T> compose(Comparator<T> first, Comparator<?
super T> second) {}
For example, the woven class String.CASE_INSENSITIVE_ORDER
(CaseInsensitiveComparator.class) has single parameter. I am not sure I
understand how this works, need help.
-Arul
More information about the lambda-dev
mailing list