Effectively final

Paul Benedict pbenedict at apache.org
Fri Aug 19 07:29:25 PDT 2011


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