|
@@ -39,13 +39,13 @@ We will learn about it later.
|
|
|
|
|
|
==== Official syntax description
|
|
|
|
|
|
-link:http://groovy.codehaus.org/For+those+new+to+both+Java+and+Groovy[http://groovy.codehaus.org/For+those+new+to+both+Java+and+Groovy]
|
|
|
+link:http://groovy-lang.org/For+those+new+to+both+Java+and+Groovy[http://groovy-lang.org/For+those+new+to+both+Java+and+Groovy]
|
|
|
|
|
|
-link:http://groovy.codehaus.org/User+Guide[http://groovy.codehaus.org/User+Guide]
|
|
|
+link:http://groovy-lang.org/User+Guide[http://groovy-lang.org/User+Guide]
|
|
|
|
|
|
-link:http://groovy.codehaus.org/Logical+Branching[http://groovy.codehaus.org/Logical+Branching]
|
|
|
+link:http://groovy-lang.org/Logical+Branching[http://groovy-lang.org/Logical+Branching]
|
|
|
|
|
|
-link:http://groovy.codehaus.org/Looping[http://groovy.codehaus.org/Looping]
|
|
|
+link:http://groovy-lang.org/Looping[http://groovy-lang.org/Looping]
|
|
|
|
|
|
For your overview, I will introduce the most important syntax of the language:
|
|
|
|
|
@@ -77,9 +77,9 @@ Beside with elegant syntax, Groovy has features you always wish that Java have,
|
|
|
|
|
|
Read more about it here:
|
|
|
|
|
|
-link:http://groovy.codehaus.org/Closures[http://groovy.codehaus.org/Closures]
|
|
|
-link:http://groovy.codehaus.org/Closures+-+Informal+Guide[http://groovy.codehaus.org/Closures+-+Informal+Guide]
|
|
|
-link:http://groovy.codehaus.org/Closures+-+Formal+Definition[http://groovy.codehaus.org/Closures+-+Formal+Definition]
|
|
|
+link:http://groovy-lang.org/Closures[http://groovy-lang.org/Closures]
|
|
|
+link:http://groovy-lang.org/Closures+-+Informal+Guide[http://groovy-lang.org/Closures+-+Informal+Guide]
|
|
|
+link:http://groovy-lang.org/Closures+-+Formal+Definition[http://groovy-lang.org/Closures+-+Formal+Definition]
|
|
|
|
|
|
What is a *Closure*?
|
|
|
|
|
@@ -101,7 +101,7 @@ Note that in the above example, “hello! is printed when the Closure is called,
|
|
|
|
|
|
=== and Gotchas
|
|
|
|
|
|
-link:http://groovy.codehaus.org/Differences+from+Java[http://groovy.codehaus.org/Differences+from+Java]
|
|
|
+link:http://groovy-lang.org/Differences+from+Java[http://groovy-lang.org/Differences+from+Java]
|
|
|
|
|
|
|
|
|
=== Meta-programming
|