Re: Constructing a java lambda expression?

Vibhu Mohindra <[email protected]> Wed, 24 Aug 2022 14:23:15 +0200
Newsgroups gmane.editors.j.devel
Message-ID <[email protected]>
On 24/08/2022 09:42, Alessio Stalla wrote:
> Function is a convenient interface for cases when a more specific 
> interface does not exist. But any Java interface with a single abstract 
> method can be the target of a lambda expression:
> 
> [...]
> Lambda is just syntax sugar for interfaces with a single method, [...].

You're absolutely right. I'd forgotten all this.

Vibhu