aspose file tools*
The moose likes Clojure and the fly likes When will closures be present in Java language? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Clojure
Bookmark "When will closures be present in Java language?" Watch "When will closures be present in Java language?" New topic
Author

When will closures be present in Java language?

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
When?


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61229
    
  66

Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313

Bear Bibeault wrote:Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?


I think what is meant is the latter question. Am I right Rogerio?


Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Palak Mathur wrote:
Bear Bibeault wrote:Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?


I think what is meant is the latter question. Am I right Rogerio?


Actually it was closures what I meant to say, indeed.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61229
    
  66

OK, I've adjusted the topic title accordingly.
Raymond Tong
Ranch Hand

Joined: Aug 15, 2010
Posts: 230
    
    2

Rogerio Kioshi wrote:
Actually it was closures what I meant to say, indeed.

Target on Java 8.
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313

Rogerio Kioshi wrote:
Palak Mathur wrote:
Bear Bibeault wrote:Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?


I think what is meant is the latter question. Am I right Rogerio?


Actually it was closures what I meant to say, indeed.


Yes, it is going to be part of Java 8. See this: http://openjdk.java.net/projects/lambda/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When will closures be present in Java language?