Java Tip 68: Learn how to implement the Command pattern in Java
Since Java doesn't have function pointers, we can use the Command pattern to implement callbacks. You'll see this in action in the first code example below, called TestCommand.java. http://www.javaworld.com/javaworld/javatips/jw-jav
created by syam1224 on 2008-05-08 21:35:06