Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

lambda expression

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Can anyone share the link where lambda expression nicely explained?

Thanks
 
Marshal
Posts: 69864
278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are lots. Try the Java™ Tutorials (part of that chapter), and books like Java 8/9 in Action (or Modern Java in Action: different name for the same book) by Urma Fusco and Mycroft,  or Naftalin's Mastering Lambdas. Naftalin also has an FAQ. I hope you will find those helpful; there are many other sources.

Moving discussion to our Java8 forum.
 
Campbell Ritchie
Marshal
Posts: 69864
278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

A few minutes ago, I wrote:Moving discussion to our Java8 forum.

Also look through the Java8 forum because there are several good explanations in that forum.
 
Rancher
Posts: 508
15
Notepad Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Language Specification 8 has some examples and related rules: https://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#jls-15.27
 
Ranch Hand
Posts: 125
1
IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Manishii yadav wrote:Hi

Can anyone share the link where lambda expression nicely explained?

Thanks



I've also struggled with finding a good article/document that explains lambda in a way that I understood. But this article finally did it: http://java.amitph.com/2012/08/at-first-sight-with-closures-in-java.html
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic