Link Details

Link 286523 thumbnail
User 452305 avatar

By fifthposition
via mrhaki.blogspot.com
Published: Nov 12 2009 / 13:04

In Groovy we can override the method asType() to convert an object into another type. We can use the method asType() in our code to invoke the convertion, but we can even make it shorter and use as.
  • 13
  • 0
  • 569
  • 133

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (0)