Method References

Rémi Forax forax at univ-mlv.fr
Fri Feb 26 15:30:44 PST 2010


Le 26/02/2010 19:10, Neal Gafter a écrit :
> On Fri, Feb 26, 2010 at 10:11 AM, Rémi Forax<forax at univ-mlv.fr>  wrote:
>    
>> How do you expect to resolve generic method call ?
>>
>> class A {
>>    static<T>  T identity(T t) { ... }
>> }
>>
>> A#identity   ???
>>
>>
>> In that case, is A#identity.("foo") equivalent to A.identity("foo") ?
>>      
> That is not a syntax I proposed to support.  My specification is at
> <http://www.javac.info/closures-v06a.html>.
>
> Cheers,
> Neal
>    

Sorry Neal,
My mail was not clear,
I've no problem with your specification.
the question was for Fredrik (the receiver of my first mail).

Rémi


More information about the lambda-dev mailing list