Link Details

Link 878857 thumbnail
User 478055 avatar

By mitchp
via cr.openjdk.java.net
Published: Nov 16 2012 / 09:41

This is an informal overview of the major proposed library enhancements to take advantage of new language features, primarily lambda expressions and extension methods, specified by JSR 335 and implemented in the OpenJDK Lambda Project. This version describes "Iteration 3" of the API design; for comparison, see Iteration 1. We are in the process of implementing this in the lambda repository.
  • 6
  • 1
  • 895
  • 1407

Comments

Add your comment
User 21658 avatar

ag13098 replied ago:

1 votes Vote down Vote up Reply

So before: shapes.filter(s -> s.getColor() == BLUE) now: shapes.stream() .filter(s -> s.getColor() == BLUE) .into(new ArrayList<>()); How is it better? Now it's almost as verbose as when we had no lambda.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (1)



Play Framework
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Akka
  2. Design Patterns
  3. OO JS
  4. Cont. Delivery
  5. HTML5 Mobile
  1. Akka
  2. JUnit/EasyMock
  3. Java Performance
  4. REST
  5. Java