«« Next » « Previous
«« Next » « Previous

Link Details

We can't do it for you. Login and vote now.
Link 93299 thumbnail

By bloid
via fiascode.com
Published: Jul 08 2008 / 11:01

In my previous post I talked about dynamically adding behavior to Groovy classes using either the ExpandoMetaClass or Categories. These techniques are especially useful if you know which methods you would like to add to your classes prior to actually writing any code. But what if you don't know which methods you will need before code writing time? What if you want to allow yourself the flexibility to call methods arbitrarily without defining their implementation beforehand?
  • 10
  • 0
  • 704
  • 221

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 (10)



Voters Against This Link (0)