aspose file tools*
The moose likes Features new in Java 8 and the fly likes  Lay term: what is lambda expression? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Features new in Java 8
Bookmark " Lay term: what is lambda expression? " Watch " Lay term: what is lambda expression? " New topic
Author

Lay term: what is lambda expression?

H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 460
    
    4
"The ox is slow and the earth is patient."


(My self an ox. )

If possible, in lay term, what is lamda expression? Thanks.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38851
    
  23
It is spelt lambda, and is too big to explain in a thread. Try the Java Tutorials, JavaWorld, Java TechNet and Wikipedia.
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 460
    
    4
Tell me and I'll forget; show me and I may remember; involve me and I'll understand.


Back to the future:

I used Spring 4 and STS IDE that support JDK 8.

See Code 1 (Interface). I re-write the Code 2 using lambda. See Code 3.

I try to remove ResultSet from below code to have the compile infer, but tool complain: (why?)

return jdbcTemplate.query(sql, (rs) ->





 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Lay term: what is lambda expression?