Effectively final

Brian Goetz brian.goetz at oracle.com
Fri Aug 19 07:31:57 PDT 2011

Well, you can blame the guy named "Sam" on our expert group, he found it 
very confusing :)

I suspect the name will stick around anyway, for these reasons.  Plus 
there will be jokes in the code, like a "SamIAm" classfile attribute.

On 8/19/2011 10:29 AM, Paul Benedict wrote:
> On Fri, Aug 19, 2011 at 9:01 AM, Brian Goetz<brian.goetz at oracle.com>  wrote:
>> Yes, lambdas can only be converted to SAM interfaces, not abstract
>> classes.  (By the way, the new term for SAM is "functional interface."
>> But we still talk about SAMs because its hard to change your habits.)
> Too bad you're dumping the SAM name. Methods on an interface are
> abstract; I don't think anyone should avoid using "SAM" just because
> someone might think the abstractness refers to an abstract class. I
> think it describes things much clearer than "functional interface"
> Paul

More information about the lambda-dev mailing list