UP | HOME

What’s new in Groovy 1.5

http://www.infoq.com/articles/groovy-1.5-new

A couple of things I found are pretty cool.

String name = "Guillaume";  
String displayName = name != **null** ? name :  "Unknown";  
  
String name = "Guillaume"  
String displayName = name ?: "Unknown"