HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

We're glad you're here, but we'd be thrilled if you voted! Login and vote now.
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
  • 1202
  • 0

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.