mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
Groovy: v 1.0
This commit is contained in:
parent
655ef1d66f
commit
77cb25bf9b
@ -229,7 +229,7 @@ clos( "hi" )
|
|||||||
http://roshandawrani.wordpress.com/2010/10/18/groovy-new-feature-closures-can-now-memorize-their-results/
|
http://roshandawrani.wordpress.com/2010/10/18/groovy-new-feature-closures-can-now-memorize-their-results/
|
||||||
http://www.solutionsiq.com/resources/agileiq-blog/bid/72880/Programming-with-Groovy-Trampoline-and-Memoize
|
http://www.solutionsiq.com/resources/agileiq-blog/bid/72880/Programming-with-Groovy-Trampoline-and-Memoize
|
||||||
http://mrhaki.blogspot.mx/2011/05/groovy-goodness-cache-closure-results.html
|
http://mrhaki.blogspot.mx/2011/05/groovy-goodness-cache-closure-results.html
|
||||||
/*
|
*/
|
||||||
def cl = {a, b ->
|
def cl = {a, b ->
|
||||||
sleep(3000) // simulate some time consuming processing
|
sleep(3000) // simulate some time consuming processing
|
||||||
a + b
|
a + b
|
||||||
|
Loading…
Reference in New Issue
Block a user