This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Groovy and the fly likes Doubt in list Groovy GDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Doubt in list Groovy GDK" Watch "Doubt in list Groovy GDK" New topic
Author

Doubt in list Groovy GDK

Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
I am new to Groovy world and the language is pretty interesting.

I am going many samples on groovy language,

I found that we can apply many closures to the list like collect , multiply , find, findAll and every and any. I have gone through http://groovy.codehaus.org/groovy-jdk/java/util/List.html api to verify what are other closures we can apply on list. Surprisingly I could not find any above mentioned closures on List api.


I am not getting how this closures are not mentioned in api when we are using closures on the list ?

Please clear this doubt,
Halley Thomas
Greenhorn

Joined: Nov 17, 2008
Posts: 9
DefaultGroovyMethods Documentation
You can find them here..
Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
Thanks a lot Halley Thomas :-) .

I can see bunch of overloaded methods there. I am sure that with the help of default methods we can do groovy things :-).



 
Don't get me started about those stupid light bulbs.
 
subject: Doubt in list Groovy GDK
 
Similar Threads
Learning two languages this year
Doubt on doubt
Exception doubt
Why Functions Cannot be Nested
Closures and Groovy