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.
Add your comment
Voters For This Link (12)
-
fifthposition -
mswatcher -
pron -
aclarke -
paulk_asert -
matt -
sm13436 -
F.Grosset -
xymor -
aalmiray -
daveklein -
glaforge