Code refuses to compile when using comparator with lambda
maurizio.cimadamore at oracle.com
Wed Mar 20 05:04:45 PDT 2013
On 20/03/13 11:17, Remi Forax wrote:
> bitten by the wildcard capture, again
It's not that this time.
Juts the fact that the two methods are like:
<A> m(Function<? super A, ...>)
<B> m(Function<? super B, ...>)
Which means the two descriptors are:
So, does the first descriptor accept the same argument type as the
second? No. (Or yes, but after alpha-renaming).
More information about the lambda-dev