title: Use of When and Then in Groovy?
body: <p>I have been seeing the use of "when" and "then" keyword in Groovy in several Groovy articles. One of them is <a href="http://www.dzone.com/links/r/programming_with_groovy_trampoline_and_memoize.html" rel="nofollow">here</a>. I searched for the Groovy Doc's but I couldn't find it. So whats the actual purposes of these keyword's? Similar to if/then?</p>