Syntax for method references
serge.boulay at gmail.com
Wed Oct 26 12:39:13 PDT 2011
I liked the syntax shown at the 2011 JVM language summit
Predicate<> p = String->isEmpty
On Wed, Oct 26, 2011 at 3:17 PM, Bob Foster <bobfoster at gmail.com> wrote:
> On Tue, 25 Oct 2011 15:01:21 -0700 (whew!) Brian Goetz wrote:
> Oh, good. The dreaded :: from C++. :)
> > This is the current front-runner.
> > On Oct 25, 2011, at 9:26 AM, Stephen Colebourne wrote:
> >> Is this now decided? Or just an experiment?
> >> Collections.sortBy(people, Person::getLastName);
> >> people.sortBy(Person::getLastName);
> >> Stephen
More information about the lambda-dev