The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java already has closures

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Max Zone

Posts: 9170
Nickname: dzone
Registered: Jun, 2006

dzone.com is a link-sharing community where member participation determines what gets published
Java already has closures Posted: Dec 22, 2006 5:21 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Max Zone.
Original Post: Java already has closures
Feed Title: dzone.com: java
Feed URL: http://feeds.dzone.com/dzone/java
Feed Description: dzone.com: fresh java links for developers
Latest Java Buzz Posts
Latest Java Buzz Posts by Max Zone
Latest Posts From dzone.com: java

Advertisement
Anonymous inner classes are sufficient to fulfill the definition of closures, they can be used to bind values from their surrounding context to open variables (the fields of the anonymous class) to create a closure over the contained lambda expressions. So, if the closure proposal is not really about adding closures to Java, what is going on?

Read: Java already has closures

Topic: Patterns in Spring talk Previous Topic   Next Topic Topic: Trivia

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use