Java 5 Function Object Awesomeness
Java 5 Function Object Awesomeness
You don’t see a lot of blog posts about how great function objects are in Java. It’s pretty popular to hate on Java in this area. You’re not really a Java programmer unless you write a blog post about how crummy they are, right? Whatever. I like Java. I also like function objects. And enum types too. Martin Fowler’s Type Safe Enum in Refactoring was one of my favorite chapters. It seemed so clever, and I got a warm feeling every time I wrote one. And now the language supports it with the enum type. Welcome to 2004!
Read More:
http://hamletdarcy.blogspot.com/2008/06/java-5-function-object-awesomeness.html
Thanks