Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

3.
Some historyYou said lambda in java, but● Smalltalk said block or closure● C# said closure● “Grubby” said closureIts a block of code, that can be used a methodparameter, thread safe, and not wrapped in a classSo no more time waiting it in Java!04/2013Ch. Huntzinger 3

11.
New API for lambda● New Collection API: new method injava.util.Map and java.util.List to useclosure new capabilities● java.util.function: a set of interface for basicclosure instantiation. Create your owns!● java.util.stream: a set of interface to processobject’s Stream.04/2013Ch. Huntzinger 11