berndschiffer on 08/07/09
Last Edited at 08/07/09 08:19am
def timeLogged (Closure c) { long start = - System.currentTimeMillis() c.call() println "duration in sec: " + (System.currentTimeMillis() + start) / 1000;}
URL: http://berndschiffer.blogspot.com/2009/08/beispiel-fur-refactoring-von-beispiel.html
Report this snippet Tweet
Comment:
You need to login to post a comment.