From: Ken Kunz Date: 2005-09-07T02:21:27+09:00 Subject: Re: ruby style blocks in java The best way to approximate this in Java is with anonymous inner classes. A bit ugly/verbose, though. Have a look at Martin Fowler's article on closures, as well as BlocksInJava from Ward's wiki: http://www.martinfowler.com/bliki/Closure.html http://c2.com/cgi/wiki?BlocksInJava Cheers, Ken